Spaces:
Runtime error
Runtime error
Commit
·
f3b81e7
1
Parent(s):
7b13977
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ from magma.image_input import ImageInput
|
|
11 |
from huggingface_hub import hf_hub_url, cached_download
|
12 |
|
13 |
checkpoint_url = hf_hub_url(repo_id="osanseviero/magma", filename="model.pt")
|
14 |
-
checkpoint_path = cached_download(
|
15 |
|
16 |
model = Magma.from_checkpoint(
|
17 |
config_path = "configs/MAGMA_v1.yml",
|
|
|
11 |
from huggingface_hub import hf_hub_url, cached_download
|
12 |
|
13 |
checkpoint_url = hf_hub_url(repo_id="osanseviero/magma", filename="model.pt")
|
14 |
+
checkpoint_path = cached_download(checkpoint_url)
|
15 |
|
16 |
model = Magma.from_checkpoint(
|
17 |
config_path = "configs/MAGMA_v1.yml",
|