Update app.py
Browse files
app.py
CHANGED
@@ -212,7 +212,7 @@ def process_audio():
|
|
212 |
os.unlink(converted_file.name)
|
213 |
|
214 |
# Updated Email Handling
|
215 |
-
|
216 |
global awaiting_preference, current_category, awaiting_quantity, cart, awaiting_item_selection, user_email, user_name
|
217 |
|
218 |
logging.info(f"Processing command: {command}") # Indentation fixed
|
|
|
212 |
os.unlink(converted_file.name)
|
213 |
|
214 |
# Updated Email Handling
|
215 |
+
def process_command(command):
|
216 |
global awaiting_preference, current_category, awaiting_quantity, cart, awaiting_item_selection, user_email, user_name
|
217 |
|
218 |
logging.info(f"Processing command: {command}") # Indentation fixed
|