Update app.py
Browse files
app.py
CHANGED
@@ -220,7 +220,7 @@ def process_command(command):
|
|
220 |
try:
|
221 |
if user_name is None and "my name is" in command:
|
222 |
user_name = command.replace("my name is", "").strip()
|
223 |
-
|
224 |
|
225 |
if awaiting_preference:
|
226 |
if "veg" in command:
|
|
|
220 |
try:
|
221 |
if user_name is None and "my name is" in command:
|
222 |
user_name = command.replace("my name is", "").strip()
|
223 |
+
return jsonify({"response": f"Hello {user_name}! Nice to meet you. Please choose your preference: Veg, Non-Veg, or All."})
|
224 |
|
225 |
if awaiting_preference:
|
226 |
if "veg" in command:
|