Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,10 +19,7 @@ def respond(message, history):
|
|
| 19 |
):
|
| 20 |
token = message.choices[0].delta.content
|
| 21 |
response += token
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
yield response["choices"][0]["message"]["content"].strip()
|
| 26 |
|
| 27 |
def echo(message, history):
|
| 28 |
choices = ["Without a doubt", "Ask again later","Yes, definitely","Don't count on it"]
|
|
|
|
| 19 |
):
|
| 20 |
token = message.choices[0].delta.content
|
| 21 |
response += token
|
| 22 |
+
yield response
|
|
|
|
|
|
|
|
|
|
| 23 |
|
| 24 |
def echo(message, history):
|
| 25 |
choices = ["Without a doubt", "Ask again later","Yes, definitely","Don't count on it"]
|