Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,7 +14,7 @@ def respond(message, history):
|
|
| 14 |
|
| 15 |
response = client.chat_completion(messages, max_tokens = 100)
|
| 16 |
#connecting to llm, max caps response
|
| 17 |
-
return response['choices'][0]['message']['content'].strip
|
| 18 |
# import lines go at the top! Any libraries I need to import go up ^
|
| 19 |
|
| 20 |
# def magic_eight_ball(message, history):
|
|
|
|
| 14 |
|
| 15 |
response = client.chat_completion(messages, max_tokens = 100)
|
| 16 |
#connecting to llm, max caps response
|
| 17 |
+
return response['choices'][0]['message']['content'].strip()
|
| 18 |
# import lines go at the top! Any libraries I need to import go up ^
|
| 19 |
|
| 20 |
# def magic_eight_ball(message, history):
|