anzorq commited on
Commit
2e34708
1 Parent(s): 4ea926c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -51,6 +51,7 @@ def convert_and_push(radio_model_names, input_model, ckpt_name, token):
51
  ckpt_path, revision = hf_utils.download_file(repo_id=model_id, filename=ckpt_name, token=token)
52
 
53
  # 2. Run the conversion script
 
54
  subprocess.run(
55
  [
56
  "python3",
 
51
  ckpt_path, revision = hf_utils.download_file(repo_id=model_id, filename=ckpt_name, token=token)
52
 
53
  # 2. Run the conversion script
54
+ os.makedirs(model_id)
55
  subprocess.run(
56
  [
57
  "python3",