Spaces:
Running
on
Zero
Running
on
Zero
TheStinger
commited on
Commit
•
ec938a7
1
Parent(s):
59b335e
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ import spaces
|
|
13 |
last_file = None
|
14 |
img_mode = "RGBA"
|
15 |
|
16 |
-
@spaces.GPU()
|
17 |
def realesrgan(img, model_name, denoise_strength, face_enhance, outscale):
|
18 |
"""Real-ESRGAN function to restore (and upscale) images.
|
19 |
"""
|
|
|
13 |
last_file = None
|
14 |
img_mode = "RGBA"
|
15 |
|
16 |
+
@spaces.GPU(duration=120)
|
17 |
def realesrgan(img, model_name, denoise_strength, face_enhance, outscale):
|
18 |
"""Real-ESRGAN function to restore (and upscale) images.
|
19 |
"""
|