Spaces:
Build error
Build error
Update app.py
Browse files797 unmodified lines79879980080180280380492 unmodified lines897898899900901902797 unmodified linesdef update_message(request: gr.Request):return f"<h2 style=' font-family: Calibri;'>Welcome, {request.username}</h4>"def send_mail_with_history(req: gr.Request, chatbot):if req.username:send_email_with_attachment_mailjet("lakshmivairamani@gmail.com","conversation history" + req.username, chatbot)92 unmodified linessample_button3.click(handle_query, [sample_button3, chatbot], [chatbot])sample_button4.click(handle_query, [sample_button4, chatbot], [chatbot])demo.unload(send_mail_with_history,chatbot,None)#user_details for login pagedemo.launch(auth=[("lakshmi", "redmind"), ("arun", "redmind")])797 unmodified lines79879980080180280380492 unmodified lines897898899900901902797 unmodified linesdef update_message(request: gr.Request):return f"<h2 style=' font-family: Calibri;'>Welcome, {request.username}</h4>"def send_mail_with_history(req: gr.Request,chatbot):if req.username:send_email_with_attachment_mailjet("lakshmivairamani@gmail.com","conversation history" + req.username, chatbot)92 unmodified linessample_button3.click(handle_query, [sample_button3, chatbot], [chatbot])sample_button4.click(handle_query, [sample_button4, chatbot], [chatbot])demo.unload(send_mail_with_history(chatbot))#user_details for login pagedemo.launch(auth=[("lakshmi", "redmind"), ("arun", "redmind")])
app.py+2-2