hanquansanren commited on
Commit
91ff64c
·
1 Parent(s): 1ab5b47
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -38,10 +38,10 @@ from huggingface_hub import hf_hub_download
38
 
39
 
40
 
41
- EXAMPLES = [
42
- ["https://huggingface.co/hanquansanren/DvD/resolve/main/examples/25_1.png"],
43
- ["https://huggingface.co/hanquansanren/DvD/resolve/main/examples/3_2.png"],
44
- ]
45
 
46
 
47
 
@@ -408,7 +408,7 @@ if __name__ == '__main__':
408
 
409
  # 加载 Examples 到输入框
410
  gr.Examples(
411
- examples=EXAMPLES,
412
  inputs=[input_image],
413
  label="Click an example to load into Input Image"
414
  )
 
38
 
39
 
40
 
41
+ # EXAMPLES = [
42
+ # ["https://huggingface.co/hanquansanren/DvD/resolve/main/examples/25_1.png"],
43
+ # ["https://huggingface.co/hanquansanren/DvD/resolve/main/examples/3_2.png"],
44
+ # ]
45
 
46
 
47
 
 
408
 
409
  # 加载 Examples 到输入框
410
  gr.Examples(
411
+ examples=example_img_list,
412
  inputs=[input_image],
413
  label="Click an example to load into Input Image"
414
  )