Spaces:
Sleeping
Sleeping
added s
Browse files
app.py
CHANGED
|
@@ -12,7 +12,7 @@ def respond(message, history):
|
|
| 12 |
|
| 13 |
messages.append({"role": "user", "content" : message})
|
| 14 |
|
| 15 |
-
response = client.chat_completion(messages,
|
| 16 |
|
| 17 |
print(response ["choices"][0]["message"]["content"].strip())
|
| 18 |
|
|
|
|
| 12 |
|
| 13 |
messages.append({"role": "user", "content" : message})
|
| 14 |
|
| 15 |
+
response = client.chat_completion(messages, max_tokens = 100)
|
| 16 |
|
| 17 |
print(response ["choices"][0]["message"]["content"].strip())
|
| 18 |
|