Spaces:
Sleeping
Sleeping
fixing syntax error
Browse files
app.py
CHANGED
|
@@ -64,8 +64,7 @@ def respond(message, history):
|
|
| 64 |
response = ""
|
| 65 |
|
| 66 |
responseStream = client.chat_completion(
|
| 67 |
-
model = "llama-3.1-8b-instant", messages, stream = True, max_tokens = 600, temperature = 0.4
|
| 68 |
-
)
|
| 69 |
|
| 70 |
for segment in responseStream:
|
| 71 |
token = segment.choices[0].delta.content
|
|
|
|
| 64 |
response = ""
|
| 65 |
|
| 66 |
responseStream = client.chat_completion(
|
| 67 |
+
model = "llama-3.1-8b-instant", messages, stream = True, max_tokens = 600, temperature = 0.4)
|
|
|
|
| 68 |
|
| 69 |
for segment in responseStream:
|
| 70 |
token = segment.choices[0].delta.content
|