Spaces:
Running
on
L40S
Running
on
L40S
BestWishYsh
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -124,8 +124,8 @@ pipe.enable_sequential_cpu_offload()
|
|
124 |
os.makedirs("./output", exist_ok=True)
|
125 |
os.makedirs("./gradio_tmp", exist_ok=True)
|
126 |
|
127 |
-
upscale_model = load_sd_upscale("model_real_esran/RealESRGAN_x4.pth", device)
|
128 |
-
frame_interpolation_model = load_rife_model("model_rife")
|
129 |
|
130 |
@spaces.GPU(duration=180)
|
131 |
def generate(
|
|
|
124 |
os.makedirs("./output", exist_ok=True)
|
125 |
os.makedirs("./gradio_tmp", exist_ok=True)
|
126 |
|
127 |
+
upscale_model = load_sd_upscale(f"{model_path}/model_real_esran/RealESRGAN_x4.pth", device)
|
128 |
+
frame_interpolation_model = load_rife_model(f"{model_path}/model_rife")
|
129 |
|
130 |
@spaces.GPU(duration=180)
|
131 |
def generate(
|