Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ with gr.Blocks() as demo:
|
|
26 |
outputs = [gr.Textbox(label="English Caption"), gr.Textbox(label="African Language Caption"),
|
27 |
gr.Image(label="OUT", type="filepath")]
|
28 |
btn = gr.Button("Generate African Language Caption")
|
29 |
-
btn.click(generate, inputs=inputs, outputs=outputs
|
30 |
|
31 |
if __name__ == "__main__":
|
32 |
demo.queue(max_size=20).launch()
|
|
|
26 |
outputs = [gr.Textbox(label="English Caption"), gr.Textbox(label="African Language Caption"),
|
27 |
gr.Image(label="OUT", type="filepath")]
|
28 |
btn = gr.Button("Generate African Language Caption")
|
29 |
+
btn.click(generate, inputs=inputs, outputs=outputs)
|
30 |
|
31 |
if __name__ == "__main__":
|
32 |
demo.queue(max_size=20).launch()
|