Update README.md
Browse files
README.md
CHANGED
@@ -35,10 +35,9 @@ device = (
|
|
35 |
)
|
36 |
|
37 |
# Download the model weights from the Hugging Face Hub
|
38 |
-
|
39 |
-
repo_id="dblasko/mirnet-low-light-img-enhancement", filename="mirnet_finetuned.pth"
|
40 |
)
|
41 |
-
model_path = cached_download(model_url)
|
42 |
|
43 |
# Load the model
|
44 |
model = MIRNet().to(device)
|
|
|
35 |
)
|
36 |
|
37 |
# Download the model weights from the Hugging Face Hub
|
38 |
+
model_path = hf_hub_download(
|
39 |
+
repo_id="dblasko/mirnet-low-light-img-enhancement", filename="mirnet_finetuned.pth"
|
40 |
)
|
|
|
41 |
|
42 |
# Load the model
|
43 |
model = MIRNet().to(device)
|