Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -142,8 +142,7 @@ def generate(
|
|
142 |
use_resolution_binning: bool = True,
|
143 |
progress=gr.Progress(track_tqdm=True),
|
144 |
):
|
145 |
-
|
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))
|