Spaces:
Runtime error
Runtime error
diamantrsd
commited on
Commit
·
75c9a0c
1
Parent(s):
654ca8c
Update app.py
Browse files
app.py
CHANGED
@@ -53,7 +53,7 @@ def generate_caption(input_image):
|
|
53 |
iface = gr.Interface(
|
54 |
generate_caption,
|
55 |
inputs=gr.inputs.Image(type="pil"),
|
56 |
-
outputs=[gr.outputs.
|
57 |
live=True
|
58 |
)
|
59 |
iface.launch()
|
|
|
53 |
iface = gr.Interface(
|
54 |
generate_caption,
|
55 |
inputs=gr.inputs.Image(type="pil"),
|
56 |
+
outputs=[gr.outputs.Textbox(type="text"), gr.outputs.Textbox(type="text")], # Dua output teks
|
57 |
live=True
|
58 |
)
|
59 |
iface.launch()
|