ysharma HF Staff commited on
Commit
fedda13
·
1 Parent(s): db8489f
Files changed (1) hide show
  1. app.py +1 -7
app.py CHANGED
@@ -79,12 +79,6 @@ def predict(inputs, chatbot):
79
  yield partial_message
80
  #time.sleep(0.5)
81
 
82
- def echo_stream(message, history):
83
- for i in range(len(message)):
84
- time.sleep(0.3)
85
- yield message[:i]
86
 
87
- ChatInterface(predict, chatbot=[]).queue().launch(debug=True)
88
-
89
- #chatbot = gr.Chatbot()
90
  #gr.ChatInterface(predict, delete_last_btn="del").queue().launch(share=False, debug=True) #examples=["How are you?", "What's up?"],
 
79
  yield partial_message
80
  #time.sleep(0.5)
81
 
82
+ ChatInterface(predict, delete_last_btn="❌Delete").queue().launch(debug=True)
 
 
 
83
 
 
 
 
84
  #gr.ChatInterface(predict, delete_last_btn="del").queue().launch(share=False, debug=True) #examples=["How are you?", "What's up?"],