Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -24,10 +24,10 @@ def predict(image,max_length=64, num_beams=4):
|
|
| 24 |
|
| 25 |
input = gr.inputs.Image(label="Upload any 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 |
title = "Image Captioning "
|
| 30 |
-
description = "Made by :
|
| 31 |
interface = gr.Interface(
|
| 32 |
|
| 33 |
fn=predict,
|
|
|
|
| 24 |
|
| 25 |
input = gr.inputs.Image(label="Upload any 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,5)]
|
| 28 |
|
| 29 |
title = "Image Captioning "
|
| 30 |
+
description = "Made by : Sid"
|
| 31 |
interface = gr.Interface(
|
| 32 |
|
| 33 |
fn=predict,
|