Saketh-Reddy commited on
Commit
a50294e
1 Parent(s): 54ee876

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -31,8 +31,8 @@ async def webhook(request: Request):
31
  _ = whoami(token)
32
  # ^ this will throw if token is invalid
33
 
34
- # delete_repo(repo_id="shellplc/ThirdParty", token = token, repo_type="model",missing_ok=True)
35
- # print("deleted")
36
  r = requests.post(
37
  f"https://huggingface.co/api/models/SakethTest/ThirdParty/duplicate",
38
  headers=build_hf_headers(token=token),
 
31
  _ = whoami(token)
32
  # ^ this will throw if token is invalid
33
 
34
+ delete_repo(repo_id="shellplc/ThirdParty", token = token, repo_type="model",missing_ok=True)
35
+ print("deleted")
36
  r = requests.post(
37
  f"https://huggingface.co/api/models/SakethTest/ThirdParty/duplicate",
38
  headers=build_hf_headers(token=token),