Spaces:
Sleeping
Sleeping
Update app2.py
Browse files
app2.py
CHANGED
|
@@ -44,7 +44,7 @@ with demo:
|
|
| 44 |
with gr.Column():
|
| 45 |
input = gr.inputs.Image(label="Upload your Image", type = 'pil', optional=True)
|
| 46 |
output = gr.outputs.Textbox(type="auto",label="Captions")
|
| 47 |
-
btn = gr.Button("
|
| 48 |
btn.click(fn=predict, inputs=input, outputs=output)
|
| 49 |
|
| 50 |
demo.launch()
|
|
|
|
| 44 |
with gr.Column():
|
| 45 |
input = gr.inputs.Image(label="Upload your Image", type = 'pil', optional=True)
|
| 46 |
output = gr.outputs.Textbox(type="auto",label="Captions")
|
| 47 |
+
btn = gr.Button("Generate Caption")
|
| 48 |
btn.click(fn=predict, inputs=input, outputs=output)
|
| 49 |
|
| 50 |
demo.launch()
|