Spaces:
Runtime error
Runtime error
Shaffique Aljoofri
commited on
Commit
·
63f702a
1
Parent(s):
ff9c845
Update app.py
Browse files
app.py
CHANGED
|
@@ -37,8 +37,8 @@ import gradio as gr
|
|
| 37 |
gr.close_all()
|
| 38 |
|
| 39 |
demo = gr.Interface(fn = captioner,
|
| 40 |
-
inputs = [gr.Image(label="Upload image", type="pil")],
|
| 41 |
-
outputs = [gr.Textbox(label="Caption")],
|
| 42 |
title = "Image captioning with BLIP",
|
| 43 |
description = "Caption any image using the BLIP model",
|
| 44 |
allow_flagging = "never",
|
|
|
|
| 37 |
gr.close_all()
|
| 38 |
|
| 39 |
demo = gr.Interface(fn = captioner,
|
| 40 |
+
inputs = [gr.Image(label = "Upload image", type = "pil")],
|
| 41 |
+
outputs = [gr.Textbox(label = "Caption")],
|
| 42 |
title = "Image captioning with BLIP",
|
| 43 |
description = "Caption any image using the BLIP model",
|
| 44 |
allow_flagging = "never",
|