Spaces:
Sleeping
Sleeping
Commit
·
260ee77
1
Parent(s):
d4ac640
feat: Corregir manejo de excepción en app.py
Browse files
app.py
CHANGED
@@ -80,7 +80,7 @@ def upscale(image, resolution, inf_steps, strength, hdr_effect, guidance_scale):
|
|
80 |
return [image, image]
|
81 |
return result
|
82 |
except Exception as e:
|
83 |
-
|
84 |
|
85 |
css="""
|
86 |
"""
|
|
|
80 |
return [image, image]
|
81 |
return result
|
82 |
except Exception as e:
|
83 |
+
gr.Warning("Error: " + str(e))
|
84 |
|
85 |
css="""
|
86 |
"""
|