Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -252,8 +252,7 @@ def infer(
|
|
252 |
):
|
253 |
if any([a in prompt for a in bad_words]):
|
254 |
return None, "## <span style='color:orangered'>ERROR: Invalid prompt / δΈι©εγͺγγγ³γγ </span>", None, seed
|
255 |
-
|
256 |
-
yield infer_impl(prompt, style, lang, negative_prompt, seed, randomize_seed, ar, guidance_scale, num_inference_steps, progress)
|
257 |
|
258 |
|
259 |
# Seafoam theme based on
|
|
|
252 |
):
|
253 |
if any([a in prompt for a in bad_words]):
|
254 |
return None, "## <span style='color:orangered'>ERROR: Invalid prompt / δΈι©εγͺγγγ³γγ </span>", None, seed
|
255 |
+
return infer_impl(prompt, style, lang, negative_prompt, seed, randomize_seed, ar, guidance_scale, num_inference_steps, progress)
|
|
|
256 |
|
257 |
|
258 |
# Seafoam theme based on
|