Update app.py
Browse files
app.py
CHANGED
|
@@ -23,7 +23,7 @@ def predict(image,max_length=64, num_beams=4):
|
|
| 23 |
|
| 24 |
|
| 25 |
input = gr.inputs.Image(label="Upload your Image", type = 'pil', optional=True)
|
| 26 |
-
output = gr.outputs.Textbox(type="
|
| 27 |
examples = [f"example{i}.png" for i in range(1,3)]
|
| 28 |
|
| 29 |
description= "Image caption Generator"
|
|
|
|
| 23 |
|
| 24 |
|
| 25 |
input = gr.inputs.Image(label="Upload your Image", type = 'pil', optional=True)
|
| 26 |
+
output = gr.outputs.Textbox(type="text",label="Captions")
|
| 27 |
examples = [f"example{i}.png" for i in range(1,3)]
|
| 28 |
|
| 29 |
description= "Image caption Generator"
|