Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -78,8 +78,9 @@ def generate(image: Image):
|
|
| 78 |
|
| 79 |
|
| 80 |
demo = gr.Interface(
|
| 81 |
-
fn=generate, inputs=[gr.Image(type="pil")], outputs=gr.
|
| 82 |
examples="./examples",
|
| 83 |
-
title="A Dense Captioner optimized for Graphical User Interface"
|
|
|
|
| 84 |
)
|
| 85 |
demo.queue().launch()
|
|
|
|
| 78 |
|
| 79 |
|
| 80 |
demo = gr.Interface(
|
| 81 |
+
fn=generate, inputs=[gr.Image(type="pil")], outputs=gr.Textbox(), concurrency_limit=1,
|
| 82 |
examples="./examples",
|
| 83 |
+
title="A Dense Captioner optimized for Graphical User Interface",
|
| 84 |
+
description="[Project Page](agent-eval-refine.github.io)"
|
| 85 |
)
|
| 86 |
demo.queue().launch()
|