Spaces:
Build error
Build error
Commit ·
94ba4d8
1
Parent(s): 9ace041
18 unmodified lines1920212223242526272829328 unmodified lines35835936036136236336418 unmodified linesif not os.path.exists('Arial.ttf'):os.system('wget https://huggingface.co/datasets/JingyeChen22/TextDiffuser/resolve/main/Arial.ttf')if not os.path.exists('architecture.jpg'):os.system('wget https://huggingface.co/JingyeChen22/textdiffuser2-full-ft/blob/main/architecture.jpg')if not os.path.exists('gray256.jpg'):os.system('wget https://huggingface.co/JingyeChen22/textdiffuser2-full-ft/blob/main/gray256.jpg')# print(os.system('apt install mlocate'))# print(os.system('ls'))328 unmodified lines}</style><img src="file/architecture.jpg" alt="textdiffuser-2" class="scaled-image"></div>""")18 unmodified lines192021222324252627282930313233343536328 unmodified lines36536636736836937037118 unmodified linesif not os.path.exists('Arial.ttf'):os.system('wget https://huggingface.co/datasets/JingyeChen22/TextDiffuser/resolve/main/Arial.ttf')if not os.path.exists('images2'):os.system('wget https://huggingface.co/datasets/JingyeChen22/TextDiffuser/resolve/main/images2.zip')with zipfile.ZipFile('images2.zip', 'r') as zip_ref:zip_ref.extractall('.')# if not os.path.exists('architecture.jpg'):# os.system('wget https://huggingface.co/JingyeChen22/textdiffuser2-full-ft/blob/main/architecture.jpg')# if not os.path.exists('gray256.jpg'):# os.system('wget https://huggingface.co/JingyeChen22/textdiffuser2-full-ft/blob/main/gray256.jpg')# print(os.system('apt install mlocate'))# print(os.system('ls'))328 unmodified lines}</style><img src="file/images2/architecture.jpg" alt="textdiffuser-2" class="scaled-image"></div>""")
app.py+12-5