Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -43,6 +43,7 @@ if st.button("Get Recommendations"):
|
|
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 |
response = "".join(response_chunks)
|
47 |
|
48 |
# Display the response as recommendations
|
|
|
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)
|
47 |
response = "".join(response_chunks)
|
48 |
|
49 |
# Display the response as recommendations
|