Spaces:
Runtime error
Runtime error
Commit
·
a653ebc
1
Parent(s):
aa462fc
Update app.py
Browse files
app.py
CHANGED
|
@@ -21,7 +21,7 @@ def predict(image,max_length=64,device='cpu'):
|
|
| 21 |
|
| 22 |
|
| 23 |
input = gr.inputs.Image(label="Upload your Image", type = 'pil', optional=True)
|
| 24 |
-
output = gr.outputs.Textbox(type="
|
| 25 |
|
| 26 |
|
| 27 |
title = "Image Captioning"
|
|
|
|
| 21 |
|
| 22 |
|
| 23 |
input = gr.inputs.Image(label="Upload your Image", type = 'pil', optional=True)
|
| 24 |
+
output = gr.outputs.Textbox(type="text",label="Captions")
|
| 25 |
|
| 26 |
|
| 27 |
title = "Image Captioning"
|