Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,8 @@ def inference(raw_image):
|
|
17 |
|
18 |
|
19 |
inputs = [gr.Image(type='pil', interactive=False),]
|
20 |
-
outputs = gr.outputs.Textbox(label="Caption")
|
|
|
21 |
|
22 |
description = "Gradio demo for FuseCap: Leveraging Large Language Models for Enriched Fused Image Captions. This demo features a BLIP-based model, trained using FuseCap."
|
23 |
examples = [["surfer.jpg"], ["bike.jpg"]]
|
|
|
17 |
|
18 |
|
19 |
inputs = [gr.Image(type='pil', interactive=False),]
|
20 |
+
# outputs = gr.outputs.Textbox(label="Caption")
|
21 |
+
outputs = gr.Textbox(label="Caption")
|
22 |
|
23 |
description = "Gradio demo for FuseCap: Leveraging Large Language Models for Enriched Fused Image Captions. This demo features a BLIP-based model, trained using FuseCap."
|
24 |
examples = [["surfer.jpg"], ["bike.jpg"]]
|