Daniel Marques commited on
Commit
6968cd1
1 Parent(s): c4cd469

fix: add types

Browse files
Files changed (1) hide show
  1. load_models.py +1 -1
load_models.py CHANGED
@@ -225,7 +225,7 @@ def load_model(device_type, model_id, model_basename=None, LOGGING=logging, stre
225
  repetition_penalty=1.0,
226
  generation_config=generation_config,
227
  streamer=streamer,
228
- callbacks=[MyCustomSyncHandler(), MyCustomAsyncHandler()]
229
  )
230
 
231
  local_llm = HuggingFacePipeline(pipeline=pipe)
 
225
  repetition_penalty=1.0,
226
  generation_config=generation_config,
227
  streamer=streamer,
228
+ # callbacks=callbacks
229
  )
230
 
231
  local_llm = HuggingFacePipeline(pipeline=pipe)