BestWishYsh commited on
Commit
70eb754
·
verified ·
1 Parent(s): 9bc5a81

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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(