DemahAlmutairi commited on
Commit
c8dd872
·
verified ·
1 Parent(s): f36123d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -38,7 +38,8 @@ def parse_input(image, sketchpad, state):
38
  def tabs_select(e: gr.SelectData, _state):
39
  _state["tab_index"] = e.index
40
 
41
- example_img_path = "https://4.img-dpreview.com/files/p/E~TS590x0~articles/3925134721/0266554465.jpeg"
 
42
 
43
 
44
  with gr.Blocks() as iface:
@@ -63,7 +64,7 @@ with gr.Blocks() as iface:
63
  with gr.Column(elem_id="examples_container"):
64
  gr.Markdown("### Example Prompts")
65
  gr.Examples(
66
- [example_img_path],
67
  inputs=[input_image],
68
  cache_examples=False
69
  )
 
38
  def tabs_select(e: gr.SelectData, _state):
39
  _state["tab_index"] = e.index
40
 
41
+ example_img_paths = ["https://4.img-dpreview.com/files/p/E~TS590x0~articles/3925134721/0266554465.jpeg" ,
42
+ "https://images4.alphacoders.com/688/688832.jpg"]
43
 
44
 
45
  with gr.Blocks() as iface:
 
64
  with gr.Column(elem_id="examples_container"):
65
  gr.Markdown("### Example Prompts")
66
  gr.Examples(
67
+ [example_img_paths],
68
  inputs=[input_image],
69
  cache_examples=False
70
  )