Jiayi Pan commited on
Commit
4b28e91
β€’
1 Parent(s): 4d0b983
app.py CHANGED
@@ -79,7 +79,7 @@ def generate(image: Image):
79
 
80
  demo = gr.Interface(
81
  fn=generate, inputs=[gr.Image(type="pil")], outputs=gr.Markdown(), concurrency_limit=1,
82
- examples=["0.png", "1.png", "2.jpg", "3.jpg"],
83
  title="A Dense Captioner optimized for Graphical User Interface"
84
  )
85
  demo.queue().launch()
 
79
 
80
  demo = gr.Interface(
81
  fn=generate, inputs=[gr.Image(type="pil")], outputs=gr.Markdown(), concurrency_limit=1,
82
+ examples="./examples",
83
  title="A Dense Captioner optimized for Graphical User Interface"
84
  )
85
  demo.queue().launch()
0.png β†’ examples/0.png RENAMED
File without changes
1.png β†’ examples/1.png RENAMED
File without changes
2.jpg β†’ examples/2.jpg RENAMED
File without changes
3.jpg β†’ examples/3.jpg RENAMED
File without changes