MuGeminorum commited on
Commit
eca1055
1 Parent(s): 89d78bf

upd url model

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ import warnings
10
  warnings.filterwarnings("ignore")
11
 
12
 
13
- def download_model(url="https://www.modelscope.cn/api/v1/models/MuGeminorum/SVHN-Recognition/repo?Revision=master&FilePath=model-122000.pth", local_path="model-122000.pth"):
14
  # Check if the file exists
15
  if not os.path.exists(local_path):
16
  print(f"Downloading file from {url}...")
 
10
  warnings.filterwarnings("ignore")
11
 
12
 
13
+ def download_model(url="https://huggingface.co/MuGeminorum/SVHN-Recognition/resolve/main/model-122000.pth", local_path="model-122000.pth"):
14
  # Check if the file exists
15
  if not os.path.exists(local_path):
16
  print(f"Downloading file from {url}...")