Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -60,9 +60,7 @@ def generate_image(
60
  ratio=ratio
61
  )
62
  return image
63
- except Exception as e:
64
- logging.error(f"Generation failed: {e}", exc_info=True)
65
- raise gr.Error("Generation failed. Please try a different prompt or check for NSFW content.")
66
 
67
 
68
  with gr.Blocks(title="Somnium Image Generator") as demo:
 
60
  ratio=ratio
61
  )
62
  return image
63
+
 
 
64
 
65
 
66
  with gr.Blocks(title="Somnium Image Generator") as demo: