Jiayi-Pan commited on
Commit
7464d62
1 Parent(s): 92d0055

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -78,6 +78,8 @@ def generate(image: Image):
78
 
79
 
80
  demo = gr.Interface(
81
- fn=generate, inputs=[gr.Image(type="pil")], outputs="text", concurrency_limit=1
 
 
82
  )
83
  demo.queue().launch()
 
78
 
79
 
80
  demo = gr.Interface(
81
+ fn=generate, inputs=[gr.Image(type="pil")], outputs=gr.Markdown(), concurrency_limit=1,
82
+ examples=["0.png", "1.jpg", "2.jpg", "3.jpg"],
83
+ title="A Dense Captioner optimized for Graphical User Interface"
84
  )
85
  demo.queue().launch()