aifeifei798 commited on
Commit
77c2b29
·
verified ·
1 Parent(s): 62eb11a

Update feifeilib/feifeichat.py

Browse files
Files changed (1) hide show
  1. feifeilib/feifeichat.py +1 -1
feifeilib/feifeichat.py CHANGED
@@ -133,7 +133,7 @@ def feifeichat(message, history, feifei_select, additional_dropdown, image_mod):
133
  top_p=0.7,
134
  stream=True
135
  )
136
-
137
  for chunk in stream:
138
  if chunk.choices[0].delta.content is not None:
139
  temp += chunk.choices[0].delta.content
 
133
  top_p=0.7,
134
  stream=True
135
  )
136
+ temp = ""
137
  for chunk in stream:
138
  if chunk.choices[0].delta.content is not None:
139
  temp += chunk.choices[0].delta.content