Unable to generate slabs for TiO2

Trying to generate all slabs for TiO2 with a space group symmetry of C2/m (Monoclinic)
Can anyone help me out ?

‘generate_all_slab’ func is need structure parameter
your “TiO” is not a structure, is string type.

refer follows example

#fcc_ni slab generate
fcc_ni = Structure.from_spacegroup(“Fm-3m”, Lattice.cubic(3.5), [“Ni”], [[0, 0, 0]])
slabs = generate_all_slabs(fcc_ni, max_index=1, min_slab_size=8.0, min_vacuum_size=10.0)