mingbaer commited on
Commit
515dd18
·
verified ·
1 Parent(s): f910d32

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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)