Spaces:
Runtime error
Runtime error
Update app.py
#2
by
aebcnp
- opened
app.py
CHANGED
@@ -38,7 +38,8 @@ async def chat_groq(message, history):
|
|
38 |
for chunk in stream:
|
39 |
content = chunk.choices[0].delta.content
|
40 |
if content:
|
41 |
-
response_content += chunk. choices[0].delta.content
|
|
|
42 |
yield response_content
|
43 |
|
44 |
|
|
|
38 |
for chunk in stream:
|
39 |
content = chunk.choices[0].delta.content
|
40 |
if content:
|
41 |
+
response_content += chunk. choices[0].delta.content
|
42 |
+
response_content += message
|
43 |
yield response_content
|
44 |
|
45 |
|