Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -95,7 +95,7 @@ with gr.Blocks() as app:
|
|
| 95 |
response = gr.Textbox(label="Response", placeholder="The response will appear here...", lines=10, interactive=False)
|
| 96 |
|
| 97 |
# Define the action to take on button click - Ensure util_bot function is awaited if it's async
|
| 98 |
-
submit_button.click(util_bot, inputs=[question
|
| 99 |
|
| 100 |
# Customizing the app's theme and adding CSS for fonts and colors
|
| 101 |
app.css = """
|
|
|
|
| 95 |
response = gr.Textbox(label="Response", placeholder="The response will appear here...", lines=10, interactive=False)
|
| 96 |
|
| 97 |
# Define the action to take on button click - Ensure util_bot function is awaited if it's async
|
| 98 |
+
submit_button.click(util_bot, inputs=[question], outputs=response)
|
| 99 |
|
| 100 |
# Customizing the app's theme and adding CSS for fonts and colors
|
| 101 |
app.css = """
|