fix bugs
Browse files
app.py
CHANGED
@@ -43,7 +43,9 @@ outputs = gr.outputs.Textbox(label="Caption")
|
|
43 |
|
44 |
description = "Gradio demo for FuseCap: Leveraging Large Language Models to Fuse Visual Data into Enriched Image Captions. This demo features a BLIP-based model, trained using FuseCap."
|
45 |
|
46 |
-
article = "place holder"
|
|
|
|
|
47 |
iface = gr.Interface(fn=inference,
|
48 |
inputs="image",
|
49 |
outputs="text",
|
@@ -53,4 +55,3 @@ iface = gr.Interface(fn=inference,
|
|
53 |
examples=[['birthday_dog.jpeg']],
|
54 |
enable_queue=True)
|
55 |
iface.launch()
|
56 |
-
# gr.Interface(inference, inputs, outputs, title=title, description=description, article=article, examples=[['birthday_dog.jpeg']]).launch(enable_queue=True)
|
|
|
43 |
|
44 |
description = "Gradio demo for FuseCap: Leveraging Large Language Models to Fuse Visual Data into Enriched Image Captions. This demo features a BLIP-based model, trained using FuseCap."
|
45 |
|
46 |
+
article = "<p style='text-align: center'><a href='google.com' target='_blank'>place holder</a>/p>"
|
47 |
+
|
48 |
+
|
49 |
iface = gr.Interface(fn=inference,
|
50 |
inputs="image",
|
51 |
outputs="text",
|
|
|
55 |
examples=[['birthday_dog.jpeg']],
|
56 |
enable_queue=True)
|
57 |
iface.launch()
|
|