yasserrmd commited on
Commit
7efeba9
1 Parent(s): a960bc2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ pipe.to("cuda")
12
 
13
  # Load the NSFW classifier
14
  classifier = pipeline("image-classification", model="Falconsai/nsfw_image_detection",device=torch.device('cuda'))
15
- NSFW_THRESHOLD = 0.85
16
 
17
  # Define the function to generate the sketch
18
  @spaces.GPU
 
12
 
13
  # Load the NSFW classifier
14
  classifier = pipeline("image-classification", model="Falconsai/nsfw_image_detection",device=torch.device('cuda'))
15
+ NSFW_THRESHOLD = 0.5
16
 
17
  # Define the function to generate the sketch
18
  @spaces.GPU