Spaces:
Running
on
Zero
Running
on
Zero
faster upscale
Browse files
app.py
CHANGED
|
@@ -19,8 +19,8 @@ from nodes import NODE_CLASS_MAPPINGS
|
|
| 19 |
|
| 20 |
# Load available models from HF
|
| 21 |
hf_hub_download(
|
| 22 |
-
repo_id="
|
| 23 |
-
filename="
|
| 24 |
local_dir="models/upscale_models",
|
| 25 |
)
|
| 26 |
hf_hub_download(
|
|
@@ -95,7 +95,7 @@ FACE_MODEL = reactorloadfacemodel.load_model(
|
|
| 95 |
imageresize = NODE_CLASS_MAPPINGS["ImageResize+"]()
|
| 96 |
reactorfaceswap = NODE_CLASS_MAPPINGS["ReActorFaceSwap"]()
|
| 97 |
imageupscalewithmodel = NODE_CLASS_MAPPINGS["ImageUpscaleWithModel"]()
|
| 98 |
-
UPSCALE_MODEL = upscalemodelloader.load_model(model_name="
|
| 99 |
|
| 100 |
|
| 101 |
def load_extra_path_config(yaml_path):
|
|
|
|
| 19 |
|
| 20 |
# Load available models from HF
|
| 21 |
hf_hub_download(
|
| 22 |
+
repo_id="Phips/2xNomosUni_span_multijpg_ldl",
|
| 23 |
+
filename="2xNomosUni_span_multijpg_ldl.safetensors",
|
| 24 |
local_dir="models/upscale_models",
|
| 25 |
)
|
| 26 |
hf_hub_download(
|
|
|
|
| 95 |
imageresize = NODE_CLASS_MAPPINGS["ImageResize+"]()
|
| 96 |
reactorfaceswap = NODE_CLASS_MAPPINGS["ReActorFaceSwap"]()
|
| 97 |
imageupscalewithmodel = NODE_CLASS_MAPPINGS["ImageUpscaleWithModel"]()
|
| 98 |
+
UPSCALE_MODEL = upscalemodelloader.load_model(model_name="2xNomosUni_span_multijpg_ldl.safetensors")
|
| 99 |
|
| 100 |
|
| 101 |
def load_extra_path_config(yaml_path):
|