Mitsua commited on
Commit
eec41ec
β€’
1 Parent(s): 8f96c0d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
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
- yield None, None, None, seed
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