Pclanglais commited on
Commit
25f8484
1 Parent(s): 54eb092

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -11
app.py CHANGED
@@ -183,14 +183,4 @@ with gr.Blocks() as demo:
183
  msg.submit(user, [msg, chatbot], [msg, chatbot], queue=False).then(
184
  predict, chatbot, chatbot
185
  )
186
- clear.click(lambda: None, None, chatbot, queue=False)
187
-
188
-
189
- """demo = gr.Blocks()
190
-
191
- with gr.Blocks() as demo:
192
- gr.ChatInterface(predict)
193
- gr.HTML("""<h3 style="text-align:center">Sources</h3><p>""" + source_text + """</p>""")
194
-
195
- if __name__ == "__main__":
196
- demo.queue().launch()"""
 
183
  msg.submit(user, [msg, chatbot], [msg, chatbot], queue=False).then(
184
  predict, chatbot, chatbot
185
  )
186
+ clear.click(lambda: None, None, chatbot, queue=False)