Spaces:
Runtime error
Runtime error
Al Duffy
commited on
Commit
·
c7e4363
1
Parent(s):
c759728
Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,6 @@ def realesrgan(img, model_name, denoise_strength, face_enhance, outscale):
|
|
28 |
"""
|
29 |
choices=["RealESRGAN_x4plus", "RealESRNet_x4plus", "RealESRGAN_x4plus_anime_6B",
|
30 |
"RealESRGAN_x2plus", "realesr-general-x4v3"]
|
31 |
-
model_name = choices[model_name]
|
32 |
model_name = choices[model_name]
|
33 |
if not img:
|
34 |
return
|
|
|
28 |
"""
|
29 |
choices=["RealESRGAN_x4plus", "RealESRNet_x4plus", "RealESRGAN_x4plus_anime_6B",
|
30 |
"RealESRGAN_x2plus", "realesr-general-x4v3"]
|
|
|
31 |
model_name = choices[model_name]
|
32 |
if not img:
|
33 |
return
|