Spaces:
Build error
Build error
Update app.py
Browse files497 unmodified lines498499500501502503504505506507497 unmodified lineschatbot.append((user_question,img))#print(chatbot)if "send email to" in user_question:try:os.remove(image_path) # Clean up the temporary image fileexcept Exception as e:print(f"Error cleaning up image file: {e}")except Exception as e:print(f"Error loading image file: {e}")chatbot.append((user_question, "Chart generation failed. Please try again."))497 unmodified lines498499500501502503504505506507497 unmodified lineschatbot.append((user_question,img))#print(chatbot)if "send email to" in user_question:try:os.remove(image_path) # Clean up the temporary image fileexcept Exception as e:print(f"Error cleaning up image file: {e}")except Exception as e:print(f"Error loading image file: {e}")chatbot.append((user_question, "Chart generation failed. Please try again."))
app.py+4-4