Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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=
|
|
|
|
|
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()
|