JingyeChen22 commited on
Commit
57a5565
·
1 Parent(s): b5d8429

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -11,17 +11,17 @@ import re
11
  import zipfile
12
 
13
  if not os.path.exists('textdiffuser-ckpt'):
14
- os.system('wget https://layoutlm.blob.core.windows.net/textdiffuser/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://layoutlm.blob.core.windows.net/textdiffuser/images.zip')
20
  with zipfile.ZipFile('images.zip', 'r') as zip_ref:
21
  zip_ref.extractall('.')
22
 
23
  if not os.path.exists('Arial.ttf'):
24
- os.system('wget https://layoutlm.blob.core.windows.net/textdiffuser/Arial.ttf')
25
 
26
 
27
  os.system('echo finish')
 
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
  if not os.path.exists('Arial.ttf'):
24
+ os.system('wget https://conversationhub.blob.core.windows.net/textdiffuserdemo/Arial.ttf')
25
 
26
 
27
  os.system('echo finish')