vilarin commited on
Commit
c257f19
1 Parent(s): b6ce32d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -128,7 +128,7 @@ def stream_chat(message, history: list, system: str, temperature: float, max_new
128
  input_token_len = input_ids.shape[1]
129
 
130
  output = ""
131
- for new_token in streamer:
132
  yield TextGenerationStreamOutput(
133
  index=0,
134
  token=TextGenerationStreamOutputToken(
 
128
  input_token_len = input_ids.shape[1]
129
 
130
  output = ""
131
+ for next_text in streamer:
132
  yield TextGenerationStreamOutput(
133
  index=0,
134
  token=TextGenerationStreamOutputToken(