Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ def predict(image,max_length=64, num_beams=4):
|
|
24 |
|
25 |
input = gr.inputs.Image(label="Upload your Image", type = 'pil', optional=True)
|
26 |
output = gr.outputs.Textbox(type="auto",label="Captions")
|
27 |
-
examples = [f"example{i}.jpg" for i in range(1,
|
28 |
|
29 |
description= "Image captioning application made using transformers"
|
30 |
title = "Image Captioning 🖼️"
|
|
|
24 |
|
25 |
input = gr.inputs.Image(label="Upload your Image", type = 'pil', optional=True)
|
26 |
output = gr.outputs.Textbox(type="auto",label="Captions")
|
27 |
+
examples = [f"example{i}.jpg" for i in range(1,7)]
|
28 |
|
29 |
description= "Image captioning application made using transformers"
|
30 |
title = "Image Captioning 🖼️"
|