Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -36,4 +36,6 @@ def chatbot_response(message, history):
|
|
| 36 |
return numbered_response, history
|
| 37 |
|
| 38 |
chatbot = gr.ChatInterface(fn=chatbot_response, title="RAG Chatbot")
|
| 39 |
-
|
|
|
|
|
|
|
|
|
| 36 |
return numbered_response, history
|
| 37 |
|
| 38 |
chatbot = gr.ChatInterface(fn=chatbot_response, title="RAG Chatbot")
|
| 39 |
+
if __name__ == "__main__":
|
| 40 |
+
print(chatbot_response("What is supply?", [])) # Test query
|
| 41 |
+
chatbot.launch()
|