Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -126,7 +126,7 @@ with gr.Blocks() as demo:
|
|
| 126 |
button = gr.Button("Run")
|
| 127 |
|
| 128 |
# Define the event listener that connects the input and output components and triggers the function
|
| 129 |
-
button.click(fn=get_results, inputs=[image_input, text_input],
|
| 130 |
# Add the description below the layout
|
| 131 |
gr.Markdown(description_html)
|
| 132 |
# Launch the app
|
|
|
|
| 126 |
button = gr.Button("Run")
|
| 127 |
|
| 128 |
# Define the event listener that connects the input and output components and triggers the function
|
| 129 |
+
button.click(fn=get_results, inputs=[image_input, text_input], outputs=output, api_name="get_results")
|
| 130 |
# Add the description below the layout
|
| 131 |
gr.Markdown(description_html)
|
| 132 |
# Launch the app
|