bstraehle commited on
Commit
c2cbd84
1 Parent(s): a993443

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -57,7 +57,7 @@ def upload_model(base_model_id, tokenizer):
57
  fine_tuned_model_id = replace_hf_profile(base_model_id)
58
  login(token=os.environ["HF_TOKEN"])
59
  api = HfApi()
60
- api.delete_repo(repo_id=fine_tuned_model_id, repo_type="model")
61
  api.create_repo(repo_id=fine_tuned_model_id)
62
  api.upload_folder(
63
  folder_path=base_model_id,
 
57
  fine_tuned_model_id = replace_hf_profile(base_model_id)
58
  login(token=os.environ["HF_TOKEN"])
59
  api = HfApi()
60
+ #api.delete_repo(repo_id=fine_tuned_model_id, repo_type="model")
61
  api.create_repo(repo_id=fine_tuned_model_id)
62
  api.upload_folder(
63
  folder_path=base_model_id,