Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ WIDTH, HEIGHT = 512, 512
|
|
14 |
load_model_path = "./ckpts/best_model.h5"
|
15 |
if not os.path.exists(load_model_path):
|
16 |
os.makedirs(os.path.dirname(load_model_path), exist_ok=True)
|
17 |
-
url = "https://huggingface.co/danhtran2mind/autoencoder-
|
18 |
print(f"Downloading model from {url}...")
|
19 |
with requests.get(url, stream=True) as r:
|
20 |
r.raise_for_status()
|
|
|
14 |
load_model_path = "./ckpts/best_model.h5"
|
15 |
if not os.path.exists(load_model_path):
|
16 |
os.makedirs(os.path.dirname(load_model_path), exist_ok=True)
|
17 |
+
url = "https://huggingface.co/danhtran2mind/autoencoder-grayscale2color-landscape/resolve/main/ckpts/best_model.h5"
|
18 |
print(f"Downloading model from {url}...")
|
19 |
with requests.get(url, stream=True) as r:
|
20 |
r.raise_for_status()
|