Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ def maybe_spaces_gpu(fn):
|
|
22 |
last_file = None
|
23 |
img_mode = "RGBA"
|
24 |
|
25 |
-
@
|
26 |
def realesrgan(img, model_name, denoise_strength, face_enhance, outscale):
|
27 |
"""Real-ESRGAN function to restore (and upscale) images.
|
28 |
"""
|
|
|
22 |
last_file = None
|
23 |
img_mode = "RGBA"
|
24 |
|
25 |
+
@spaces.GPU
|
26 |
def realesrgan(img, model_name, denoise_strength, face_enhance, outscale):
|
27 |
"""Real-ESRGAN function to restore (and upscale) images.
|
28 |
"""
|