Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -258,7 +258,7 @@ def simple_chat(message, temperature: float = 0.8, max_length: int = 4096, top_p
|
|
258 |
)
|
259 |
gen_kwargs = {**input_ids, **generate_kwargs}
|
260 |
|
261 |
-
|
262 |
|
263 |
def generate_text():
|
264 |
nonlocal buffer
|
|
|
258 |
)
|
259 |
gen_kwargs = {**input_ids, **generate_kwargs}
|
260 |
|
261 |
+
buffer = ""
|
262 |
|
263 |
def generate_text():
|
264 |
nonlocal buffer
|