Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -33,8 +33,8 @@ ASPECT_RATIOS = {
|
|
33 |
}
|
34 |
|
35 |
# download the config and model
|
36 |
-
MODEL_PATH = hf_hub_download("jasperai/LBM_relighting", "
|
37 |
-
CONFIG_PATH = hf_hub_download("jasperai/LBM_relighting", "
|
38 |
|
39 |
with open(CONFIG_PATH, "r") as f:
|
40 |
config = yaml.safe_load(f)
|
|
|
33 |
}
|
34 |
|
35 |
# download the config and model
|
36 |
+
MODEL_PATH = hf_hub_download("jasperai/LBM_relighting", "model.safetensors", token=huggingface_token)
|
37 |
+
CONFIG_PATH = hf_hub_download("jasperai/LBM_relighting", "config.yaml", token=huggingface_token)
|
38 |
|
39 |
with open(CONFIG_PATH, "r") as f:
|
40 |
config = yaml.safe_load(f)
|