Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -202,7 +202,7 @@ with gr.Blocks(theme='shivi/calm_seafoam') as app:
|
|
| 202 |
|
| 203 |
with gr.Column(scale=1):
|
| 204 |
gr.ChatInterface(
|
| 205 |
-
|
| 206 |
type="messages",
|
| 207 |
title="Travia",
|
| 208 |
examples=[
|
|
@@ -212,7 +212,7 @@ with gr.Blocks(theme='shivi/calm_seafoam') as app:
|
|
| 212 |
])
|
| 213 |
|
| 214 |
send_button.click(
|
| 215 |
-
respond,
|
| 216 |
inputs=[destination_input, transportation_dropdown, date_input, preference_dropdown, include_checkboxes, minors_included],
|
| 217 |
outputs=[output_box]
|
| 218 |
)
|
|
|
|
| 202 |
|
| 203 |
with gr.Column(scale=1):
|
| 204 |
gr.ChatInterface(
|
| 205 |
+
chatbot_respond,
|
| 206 |
type="messages",
|
| 207 |
title="Travia",
|
| 208 |
examples=[
|
|
|
|
| 212 |
])
|
| 213 |
|
| 214 |
send_button.click(
|
| 215 |
+
fn = respond,
|
| 216 |
inputs=[destination_input, transportation_dropdown, date_input, preference_dropdown, include_checkboxes, minors_included],
|
| 217 |
outputs=[output_box]
|
| 218 |
)
|