Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -501,7 +501,7 @@ def answer_question(user_question, chatbot, audio=None):
|
|
501 |
if "send email to" in user_question:
|
502 |
try:
|
503 |
os.remove(image_path) # Clean up the temporary image file
|
504 |
-
|
505 |
print(f"Error cleaning up image file: {e}")
|
506 |
except Exception as e:
|
507 |
print(f"Error loading image file: {e}")
|
|
|
501 |
if "send email to" in user_question:
|
502 |
try:
|
503 |
os.remove(image_path) # Clean up the temporary image file
|
504 |
+
except Exception as e:
|
505 |
print(f"Error cleaning up image file: {e}")
|
506 |
except Exception as e:
|
507 |
print(f"Error loading image file: {e}")
|