Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -78,7 +78,7 @@ def predict(image,max_length=64, num_beams=4):
|
|
78 |
|
79 |
print("------------------------- 5 -------------------------\n")
|
80 |
input = gr.inputs.Image(label="Upload any Image", type = 'pil', optional=True)
|
81 |
-
output = gr.outputs.Textbox(type="
|
82 |
examples = ["example1.jpg"]
|
83 |
print("------------------------- 6 -------------------------\n")
|
84 |
title = "Image Captioning "
|
|
|
78 |
|
79 |
print("------------------------- 5 -------------------------\n")
|
80 |
input = gr.inputs.Image(label="Upload any Image", type = 'pil', optional=True)
|
81 |
+
output = gr.outputs.Textbox(type="text",label="Captions")
|
82 |
examples = ["example1.jpg"]
|
83 |
print("------------------------- 6 -------------------------\n")
|
84 |
title = "Image Captioning "
|