Spaces:
Sleeping
Sleeping
Commit ·
08ebba7
1
Parent(s): e7fc387
hotfix2
Browse files
app.py
CHANGED
|
@@ -42,7 +42,7 @@ def respond(
|
|
| 42 |
response = cohere_response.text
|
| 43 |
yield response
|
| 44 |
else:
|
| 45 |
-
for message in
|
| 46 |
messages,
|
| 47 |
max_tokens=max_tokens,
|
| 48 |
stream=True,
|
|
|
|
| 42 |
response = cohere_response.text
|
| 43 |
yield response
|
| 44 |
else:
|
| 45 |
+
for message in client.chat_completion(
|
| 46 |
messages,
|
| 47 |
max_tokens=max_tokens,
|
| 48 |
stream=True,
|