yasserrmd commited on
Commit
3654a3e
1 Parent(s): c5a0a3c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,7 +30,7 @@ def generate_sketch(prompt, num_inference_steps, guidance_scale):
30
  #for result in text_classification:
31
  # if result['label'] == 'nsfw' and result['score'] > NSFW_THRESHOLD:
32
  # return gr.update(visible=False),gr.Text(value="Inappropriate prompt detected. Please try another prompt.")
33
-
34
  image = pipe("sketched style, " + prompt,
35
  num_inference_steps=num_inference_steps,
36
  guidance_scale=guidance_scale,
 
30
  #for result in text_classification:
31
  # if result['label'] == 'nsfw' and result['score'] > NSFW_THRESHOLD:
32
  # return gr.update(visible=False),gr.Text(value="Inappropriate prompt detected. Please try another prompt.")
33
+ print(prompt)
34
  image = pipe("sketched style, " + prompt,
35
  num_inference_steps=num_inference_steps,
36
  guidance_scale=guidance_scale,