Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
26 |
-
|
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("""
|