Spaces:
Build error
Build error
Update app.py
Browse files85 unmodified lines8687888990919285 unmodified linesreturn chat_historyexcept Exception as e:chat_history.append((visual_query, f"As you know I am still learning at this moment I am not able to respond to your question.\nThank you for your patience!"))return chat_history# Chat handling functiondef chat_interaction(user_message):85 unmodified lines868788899091929385 unmodified linesreturn chat_historyexcept Exception as e:user_message = f"<b style='color:#6366f1;'>USER:</b> {visual_query.strip()}"chat_history.append((user_message, f"As you know I am still learning at this moment I am not able to respond to your question.\nThank you for your patience!"))return chat_history# Chat handling functiondef chat_interaction(user_message):
app.py+2-1