bstraehle commited on
Commit
5eaca58
1 Parent(s): 089c7c4

Update app.py

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