JingyeChen22 commited on
Commit
4595437
1 Parent(s): 90aa2bc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -11,20 +11,20 @@ import re
11
  import zipfile
12
 
13
  if not os.path.exists('textdiffuser-ckpt'):
14
- os.system('wget https://conversationhub.blob.core.windows.net/textdiffuserdemo/textdiffuser-ckpt-new.zip')
15
  with zipfile.ZipFile('textdiffuser-ckpt-new.zip', 'r') as zip_ref:
16
  zip_ref.extractall('.')
17
 
18
  if not os.path.exists('images'):
19
- os.system('wget https://conversationhub.blob.core.windows.net/textdiffuserdemo/images.zip')
20
  with zipfile.ZipFile('images.zip', 'r') as zip_ref:
21
  zip_ref.extractall('.')
22
 
23
- os.system('wget https://conversationhub.blob.core.windows.net/textdiffuserdemo/404.jpg')
24
 
25
 
26
  if not os.path.exists('Arial.ttf'):
27
- os.system('wget https://conversationhub.blob.core.windows.net/textdiffuserdemo/Arial.ttf')
28
 
29
 
30
  os.system('echo finish')
 
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-new.zip')
15
  with zipfile.ZipFile('textdiffuser-ckpt-new.zip', 'r') as zip_ref:
16
  zip_ref.extractall('.')
17
 
18
  if not os.path.exists('images'):
19
+ os.system('wget https://huggingface.co/datasets/JingyeChen22/TextDiffuser/resolve/main/images.zip')
20
  with zipfile.ZipFile('images.zip', 'r') as zip_ref:
21
  zip_ref.extractall('.')
22
 
23
+ os.system('wget https://huggingface.co/datasets/JingyeChen22/TextDiffuser/resolve/main/404.jpg')
24
 
25
 
26
  if not os.path.exists('Arial.ttf'):
27
+ os.system('wget https://huggingface.co/datasets/JingyeChen22/TextDiffuser/resolve/main/Arial.ttf')
28
 
29
 
30
  os.system('echo finish')