Saketh-Reddy commited on
Commit
7cb6878
1 Parent(s): dd82ecb

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -34,7 +34,7 @@ async def webhook(request: Request):
34
  delete_repo(repo_id="shellplc/ThirdParty", token = token, repo_type="model",missing_ok=True)
35
  print("deleted")
36
  r = requests.post(
37
- f"{ENDPOINT}/api/models/SakethTest/ThirdParty/duplicate",
38
  headers=build_hf_headers(token=token),
39
  json={"repository": "shellplc/ThirdParty"},
40
  )
 
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),
39
  json={"repository": "shellplc/ThirdParty"},
40
  )