mateoluksenberg commited on
Commit
e29fb77
·
verified ·
1 Parent(s): 3c0eab1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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
- buffer = ""
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