Spaces:
Build error
Build error
ss
Browse files
app.py
CHANGED
@@ -79,12 +79,6 @@ def predict(inputs, chatbot):
|
|
79 |
yield partial_message
|
80 |
#time.sleep(0.5)
|
81 |
|
82 |
-
|
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?"],
|