Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ def predict(image,max_length=64,num_beams=4):
|
|
23 |
input = gr.inputs.Image(label='Image to generate caption',type = 'pil', optional=False)
|
24 |
output = gr.outputs.Textbox(type="auto",label="Caption")
|
25 |
|
26 |
-
article = "This is
|
27 |
title = "Image Captioning"
|
28 |
|
29 |
interface = gr.Interface(
|
@@ -31,7 +31,6 @@ interface = gr.Interface(
|
|
31 |
inputs = input,
|
32 |
theme="grass",
|
33 |
outputs=output,
|
34 |
-
examples = examples,
|
35 |
title=title,
|
36 |
description=article,
|
37 |
)
|
|
|
23 |
input = gr.inputs.Image(label='Image to generate caption',type = 'pil', optional=False)
|
24 |
output = gr.outputs.Textbox(type="auto",label="Caption")
|
25 |
|
26 |
+
article = "This is an Image captioning application created by Shreyas Dixit"
|
27 |
title = "Image Captioning"
|
28 |
|
29 |
interface = gr.Interface(
|
|
|
31 |
inputs = input,
|
32 |
theme="grass",
|
33 |
outputs=output,
|
|
|
34 |
title=title,
|
35 |
description=article,
|
36 |
)
|