denizd commited on
Commit
aad0aeb
·
verified ·
1 Parent(s): 06996f5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
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
- chatbot.launch()
 
 
 
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()