Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -41,6 +41,7 @@ if st.button("Get Recommendations"):
|
|
41 |
|
42 |
response_chunks = []
|
43 |
for chunk in stream:
|
|
|
44 |
if chunk.choices[0].delta.content is not None:
|
45 |
response_chunks.append(chunk.choices[0].delta.content)
|
46 |
print(chunk.choices[0].delta.content)
|
|
|
41 |
|
42 |
response_chunks = []
|
43 |
for chunk in stream:
|
44 |
+
print('chunk-' + chunk.choices[0].delta.content)
|
45 |
if chunk.choices[0].delta.content is not None:
|
46 |
response_chunks.append(chunk.choices[0].delta.content)
|
47 |
print(chunk.choices[0].delta.content)
|