Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -26,7 +26,7 @@ def respond(message, history):
|
|
| 26 |
yield response
|
| 27 |
|
| 28 |
print(response["choices"][0]["message"]["content"].strip())
|
| 29 |
-
|
| 30 |
|
| 31 |
def random_message(message, history):
|
| 32 |
choices = ["try again later", "isn't looking good for you", "perhaps", "maybe", "doubtful", "yes", "no", "without a doubt", "most likely", "signs point to yes", "it is certain", "my sources say no", "reply hazy, try again"]
|
|
|
|
| 26 |
yield response
|
| 27 |
|
| 28 |
print(response["choices"][0]["message"]["content"].strip())
|
| 29 |
+
yield response["choices"][0]["message"]["content"].strip()
|
| 30 |
|
| 31 |
def random_message(message, history):
|
| 32 |
choices = ["try again later", "isn't looking good for you", "perhaps", "maybe", "doubtful", "yes", "no", "without a doubt", "most likely", "signs point to yes", "it is certain", "my sources say no", "reply hazy, try again"]
|