ameerazam08 commited on
Commit
da74bbd
·
verified ·
1 Parent(s): 792df85

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -89,7 +89,7 @@ def process_image_and_prompt(composite_pil, prompt, gemini_api_key):
89
  result_img = result_img.convert("RGB")
90
  return [result_img]
91
  except Exception as e:
92
- raise gr.Error(f"NFSW Detected", duration=5)
93
 
94
  # Build a Blocks-based interface to include the custom HTML header.
95
  with gr.Blocks() as demo:
 
89
  result_img = result_img.convert("RGB")
90
  return [result_img]
91
  except Exception as e:
92
+ raise gr.Error(f"Error Getting {e}", duration=5)
93
 
94
  # Build a Blocks-based interface to include the custom HTML header.
95
  with gr.Blocks() as demo: