Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -54,7 +54,7 @@ def generate_captions(image):
|
|
54 |
|
55 |
|
56 |
examples = [["test-1.jpeg"], ["test-2.jpeg"], ["test-3.jpeg"], ["test-4.jpeg"], ["test-5.jpeg"], ["test-6.jpg"]]
|
57 |
-
outputs = [gr.outputs.Textbox(label="Caption generated by GIT-base")
|
58 |
|
59 |
|
60 |
interface = gr.Interface(fn=generate_captions,
|
|
|
54 |
|
55 |
|
56 |
examples = [["test-1.jpeg"], ["test-2.jpeg"], ["test-3.jpeg"], ["test-4.jpeg"], ["test-5.jpeg"], ["test-6.jpg"]]
|
57 |
+
outputs = [gr.outputs.Textbox(label="Caption generated by GIT-base"), gr.outputs.Textbox(label="Caption generated by GIT-large"), gr.outputs.Textbox(label="Caption generated by BLIP-base"), gr.outputs.Textbox(label="Caption generated by BLIP-large"), gr.outputs.Textbox(label="Caption generated by ViT+GPT-2")]
|
58 |
|
59 |
|
60 |
interface = gr.Interface(fn=generate_captions,
|