princhman commited on
Commit
33b94fb
·
verified ·
1 Parent(s): 100a17e

update model download

Browse files
Files changed (1) hide show
  1. download_models_hf.py +1 -0
download_models_hf.py CHANGED
@@ -60,6 +60,7 @@ if __name__ == '__main__':
60
  json_mods = {
61
  'models-dir': model_dir,
62
  'layoutreader-model-dir': layoutreader_model_dir,
 
63
  }
64
 
65
  download_and_modify_json(json_url, config_file, json_mods)
 
60
  json_mods = {
61
  'models-dir': model_dir,
62
  'layoutreader-model-dir': layoutreader_model_dir,
63
+ 'device': 'cuda'
64
  }
65
 
66
  download_and_modify_json(json_url, config_file, json_mods)