Spaces:
Running
Running
MuGeminorum
commited on
Commit
•
eca1055
1
Parent(s):
89d78bf
upd url model
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ import warnings
|
|
10 |
warnings.filterwarnings("ignore")
|
11 |
|
12 |
|
13 |
-
def download_model(url="https://
|
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}...")
|