Daniel Marques commited on
Commit
3861b3b
1 Parent(s): e72e226

fix: add callback

Browse files
Files changed (1) hide show
  1. load_models.py +1 -1
load_models.py CHANGED
@@ -215,7 +215,7 @@ def load_model(device_type, model_id, model_basename=None, LOGGING=logging, stre
215
  top_k=40,
216
  repetition_penalty=1.0,
217
  generation_config=generation_config,
218
- streamer=streamer
219
  callbacks=[StreamingStdOutCallbackHandler()]
220
  )
221
 
 
215
  top_k=40,
216
  repetition_penalty=1.0,
217
  generation_config=generation_config,
218
+ streamer=streamer,
219
  callbacks=[StreamingStdOutCallbackHandler()]
220
  )
221