lichorosario commited on
Commit
260ee77
·
1 Parent(s): d4ac640

feat: Corregir manejo de excepción en app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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
- raise gr.Error("Error: " + str(e))
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
  """