yasserrmd commited on
Commit
3b9b2ec
·
verified ·
1 Parent(s): 9479f0d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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)