leolaish commited on
Commit
3214855
·
verified ·
1 Parent(s): a328976

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -561,7 +561,7 @@ def generate(message, temperature):
561
  #timeout=30,
562
  )
563
 
564
- response = stream.response
565
 
566
  # The reason why the library method is not used here is that if an error occurs,
567
  # the returned data will not be a stream, and using the official library will result in an error.
 
561
  #timeout=30,
562
  )
563
 
564
+ response = stream.output
565
 
566
  # The reason why the library method is not used here is that if an error occurs,
567
  # the returned data will not be a stream, and using the official library will result in an error.