Spaces:
Sleeping
Sleeping
Update app.py
Browse files45 unmodified lines464748494950515245 unmodified linesdef chatbot_response(message, history): top_chunks = get_top_chunks(message) intro = "Hi! I'm a Rochester food assistant. I can help you find places to eat near the University of Rochester.\n\n" formated_response = "\n".join([f"• {chunk}" for chunk in top_chunks]) formated = "\n".join([f"• {chunk}" for chunk in top_chunks]) return [{"responder": "chatbot", "content": intro + formatted}]
chatbot = gr.ChatInterface(fn=chatbot_response, title="RAG Chatbot")app.py+1-1