prithivMLmods commited on
Commit
e34103f
·
verified ·
1 Parent(s): 79ab83b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -142,8 +142,7 @@ def generate(
142
  use_resolution_binning: bool = True,
143
  progress=gr.Progress(track_tqdm=True),
144
  ):
145
- if check_text(prompt, negative_prompt):
146
- raise ValueError("Prompt contains restricted words.")
147
 
148
  prompt, negative_prompt = apply_style(style, prompt, negative_prompt)
149
  seed = int(randomize_seed_fn(seed, randomize_seed))
 
142
  use_resolution_binning: bool = True,
143
  progress=gr.Progress(track_tqdm=True),
144
  ):
145
+
 
146
 
147
  prompt, negative_prompt = apply_style(style, prompt, negative_prompt)
148
  seed = int(randomize_seed_fn(seed, randomize_seed))