Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,7 +16,7 @@ def respond (message, history):
|
|
| 16 |
print(response['choices'][0]['message']['content'].strip())
|
| 17 |
return response['choices'][0]['message']['content'].strip()
|
| 18 |
|
| 19 |
-
def
|
| 20 |
eight_ball_answers = ["yes","no","ehhh probably not the best idea","Sure why not!","idk","i seems not","hahahaha... no","yes of course!"]
|
| 21 |
random_choice = rd.choice(eight_ball_answers)
|
| 22 |
return random_choice
|
|
|
|
| 16 |
print(response['choices'][0]['message']['content'].strip())
|
| 17 |
return response['choices'][0]['message']['content'].strip()
|
| 18 |
|
| 19 |
+
def echo (message, history):
|
| 20 |
eight_ball_answers = ["yes","no","ehhh probably not the best idea","Sure why not!","idk","i seems not","hahahaha... no","yes of course!"]
|
| 21 |
random_choice = rd.choice(eight_ball_answers)
|
| 22 |
return random_choice
|