Spaces:
Sleeping
Sleeping
motivate
Browse files
app.py
CHANGED
|
@@ -28,7 +28,7 @@ for messagge in stream:
|
|
| 28 |
token=message.choices[0].delta.content
|
| 29 |
if respond:
|
| 30 |
respond+=token
|
| 31 |
-
|
| 32 |
#return random.choice(["Not today pal","Maybe or Maybe not","Who knows, do you know?","Do you know you are spectacularly annoying hun?",message,"Yes","No","Why","Shush"])
|
| 33 |
chatbot= gr.ChatInterface(respond, title="Mean Bot")
|
| 34 |
chatbot.launch()
|
|
|
|
| 28 |
token=message.choices[0].delta.content
|
| 29 |
if respond:
|
| 30 |
respond+=token
|
| 31 |
+
yield repond
|
| 32 |
#return random.choice(["Not today pal","Maybe or Maybe not","Who knows, do you know?","Do you know you are spectacularly annoying hun?",message,"Yes","No","Why","Shush"])
|
| 33 |
chatbot= gr.ChatInterface(respond, title="Mean Bot")
|
| 34 |
chatbot.launch()
|