Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -160,7 +160,7 @@ def bot(history):
|
|
160 |
f"{atime.duration/len(''.join(response)):.2f}s/char)" # type: ignore
|
161 |
)
|
162 |
|
163 |
-
history[-1][1] = "".join(response) + f"\n{_}"
|
164 |
yield history
|
165 |
|
166 |
|
|
|
160 |
f"{atime.duration/len(''.join(response)):.2f}s/char)" # type: ignore
|
161 |
)
|
162 |
|
163 |
+
history[-1][1] = "".join(response).replace("▁"," ") + f"\n{_}"
|
164 |
yield history
|
165 |
|
166 |
|