DmitrMakeev commited on
Commit
71aa43a
·
1 Parent(s): 9d7d381

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -7
app.py CHANGED
@@ -9,9 +9,7 @@ if RUN_MODE != "local":
9
  os.system("wget https://huggingface.co/menghanxia/disco/resolve/main/disco-beta.pth.rar")
10
  os.rename("disco-beta.pth.rar", "./checkpoints/disco-beta.pth.rar")
11
  ## examples
12
- os.system("wget https://huggingface.co/menghanxia/disco/resolve/main/01.jpg")
13
- os.system("wget https://huggingface.co/menghanxia/disco/resolve/main/02.jpg")
14
- os.system("wget https://huggingface.co/menghanxia/disco/resolve/main/03.jpg")
15
  os.system("wget https://huggingface.co/menghanxia/disco/resolve/main/04.jpg")
16
 
17
  ## step 1: set up model
@@ -75,14 +73,12 @@ with demo:
75
  """)
76
  if RUN_MODE != "local":
77
  gr.Examples(examples=[
78
- ['01.jpg', 8, "Low (256x256)"],
79
- ['02.jpg', 8, "Low (256x256)"],
80
- ['03.jpg', 8, "Low (256x256)"],
81
  ['04.jpg', 8, "Low (256x256)"],
82
  ],
83
  inputs=[Image_input,Num_anchor,Radio_resolution], outputs=[Image_output], label="Examples")
84
  gr.HTML(value="""
85
- <p style="text-align:center; color:orange"><a href='https://menghanxia.github.io/projects/disco.html' target='_blank'>DISCO Project Page</a> | <a href='https://github.com/MenghanXia/DisentangledColorization' target='_blank'>Github Repo</a></p>
86
  """)
87
 
88
  if RUN_MODE == "local":
 
9
  os.system("wget https://huggingface.co/menghanxia/disco/resolve/main/disco-beta.pth.rar")
10
  os.rename("disco-beta.pth.rar", "./checkpoints/disco-beta.pth.rar")
11
  ## examples
12
+
 
 
13
  os.system("wget https://huggingface.co/menghanxia/disco/resolve/main/04.jpg")
14
 
15
  ## step 1: set up model
 
73
  """)
74
  if RUN_MODE != "local":
75
  gr.Examples(examples=[
76
+
 
 
77
  ['04.jpg', 8, "Low (256x256)"],
78
  ],
79
  inputs=[Image_input,Num_anchor,Radio_resolution], outputs=[Image_output], label="Examples")
80
  gr.HTML(value="""
81
+
82
  """)
83
 
84
  if RUN_MODE == "local":