Update app.py
Browse files
app.py
CHANGED
@@ -117,7 +117,7 @@ os.makedirs("./gradio_tmp", exist_ok=True)
|
|
117 |
upscale_model = load_sd_upscale("model_real_esran/RealESRGAN_x4.pth", device)
|
118 |
frame_interpolation_model = load_rife_model("model_rife")
|
119 |
|
120 |
-
|
121 |
def infer(
|
122 |
prompt: str,
|
123 |
image_input: str,
|
|
|
117 |
upscale_model = load_sd_upscale("model_real_esran/RealESRGAN_x4.pth", device)
|
118 |
frame_interpolation_model = load_rife_model("model_rife")
|
119 |
|
120 |
+
@spaces.GPU
|
121 |
def infer(
|
122 |
prompt: str,
|
123 |
image_input: str,
|