Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -368,12 +368,12 @@ with gr.Blocks(theme=my_theme) as demo:
|
|
| 368 |
inputs=[user_id_input], # ✅ Pass stored user ID correctly
|
| 369 |
outputs=[chatbot, chat_history]
|
| 370 |
)
|
| 371 |
-
|
| 372 |
# Bind the sidebar button for updating travel preferences.
|
| 373 |
pref_button.click(
|
| 374 |
fn=update_preferences,
|
| 375 |
inputs=[budget, language, destination, current_location, days, traveling_alone, diet],
|
| 376 |
-
outputs=pref_confirmation
|
| 377 |
)
|
| 378 |
|
| 379 |
demo.launch(debug=True)
|
|
|
|
| 368 |
inputs=[user_id_input], # ✅ Pass stored user ID correctly
|
| 369 |
outputs=[chatbot, chat_history]
|
| 370 |
)
|
| 371 |
+
# testing with token
|
| 372 |
# Bind the sidebar button for updating travel preferences.
|
| 373 |
pref_button.click(
|
| 374 |
fn=update_preferences,
|
| 375 |
inputs=[budget, language, destination, current_location, days, traveling_alone, diet],
|
| 376 |
+
outputs=pref_confirmation
|
| 377 |
)
|
| 378 |
|
| 379 |
demo.launch(debug=True)
|