MikeMann commited on
Commit
7fb955f
·
1 Parent(s): 8f570c8

fixed response

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -544,7 +544,7 @@ if __name__ == '__main__':
544
 
545
  image_gallery = returnImages()
546
 
547
- for token in bot_responsechoices[0].delta.content:
548
  if "eot_id" in token:
549
  token = token.replace("<|eot_id|>","")
550
  if token.startswith("-"):
 
544
 
545
  image_gallery = returnImages()
546
 
547
+ for token in bot_response.choices[0].delta.content:
548
  if "eot_id" in token:
549
  token = token.replace("<|eot_id|>","")
550
  if token.startswith("-"):