denizd commited on
Commit
53c38f0
·
verified ·
1 Parent(s): aad0aeb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -35,7 +35,6 @@ def chatbot_response(message, history):
35
  history.append((message, numbered_response))
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()
 
35
  history.append((message, numbered_response))
36
  return numbered_response, history
37
 
38
+
39
  chatbot = gr.ChatInterface(fn=chatbot_response, title="RAG Chatbot")
40
+ chatbot.launch()