Spaces:
Running
on
Zero
Running
on
Zero
Update feifeilib/feifeichat.py
Browse files- 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
|