DurgaDeepak commited on
Commit
bc4b8ef
·
verified ·
1 Parent(s): 14f0b8e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -22,10 +22,8 @@ def set_preferences(diet, goal, allergies):
22
  return "Preferences updated. You can start chatting now!"
23
 
24
  def chat_interface(user_input, history):
25
- # You can optionally use preferences in prompt formatting later
26
- response = get_bot_response(user_input)
27
- history.append((user_input, response))
28
- return "", history
29
 
30
  with gr.Blocks(title="AI Meal Plan Assistant") as demo:
31
  gr.Markdown("""
 
22
  return "Preferences updated. You can start chatting now!"
23
 
24
  def chat_interface(user_input, history):
25
+ return get_bot_response(user_input)
26
+
 
 
27
 
28
  with gr.Blocks(title="AI Meal Plan Assistant") as demo:
29
  gr.Markdown("""