ritikachandak commited on
Commit
a714a07
·
verified ·
1 Parent(s): d8ecb1a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -7
app.py CHANGED
@@ -200,11 +200,6 @@ ask for their email and record it using your record_user_details tool. "
200
  # ===============================
201
  # Launch chatbot with Gradio UI
202
  # ===============================
203
- import gradio as gr
204
-
205
- me = Me()
206
- demo = gr.ChatInterface(me.chat, type="messages")
207
-
208
- # Hugging Face Spaces entry point
209
  if __name__ == "__main__":
210
- demo.launch()
 
 
200
  # ===============================
201
  # Launch chatbot with Gradio UI
202
  # ===============================
 
 
 
 
 
 
203
  if __name__ == "__main__":
204
+ me = Me()
205
+ gr.ChatInterface(me.chat, type="messages").launch()