Spaces:
Sleeping
Sleeping
JingyeChen22
commited on
Commit
•
913e917
1
Parent(s):
d66f64c
Update app.py
Browse files
app.py
CHANGED
@@ -11,8 +11,8 @@ import re
|
|
11 |
import zipfile
|
12 |
|
13 |
if not os.path.exists('textdiffuser-ckpt'):
|
14 |
-
os.system('wget https://huggingface.co/datasets/JingyeChen22/TextDiffuser/resolve/main/textdiffuser-ckpt
|
15 |
-
with zipfile.ZipFile('textdiffuser-ckpt
|
16 |
zip_ref.extractall('.')
|
17 |
|
18 |
if not os.path.exists('images'):
|
|
|
11 |
import zipfile
|
12 |
|
13 |
if not os.path.exists('textdiffuser-ckpt'):
|
14 |
+
os.system('wget https://huggingface.co/datasets/JingyeChen22/TextDiffuser/resolve/main/textdiffuser-ckpt.zip')
|
15 |
+
with zipfile.ZipFile('textdiffuser-ckpt.zip', 'r') as zip_ref:
|
16 |
zip_ref.extractall('.')
|
17 |
|
18 |
if not os.path.exists('images'):
|