sdafd commited on
Commit
61db6d3
·
verified ·
1 Parent(s): d36f560

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -196,7 +196,7 @@ def process_video(video, num_frames):
196
  total_frames = len(frames)
197
 
198
  for frame_path in frames:
199
- if check_nsfw_final(f"https://sdafd-video-nsfw-detect.hf.space/file={frame_path}"):
200
  nsfw_count += 1
201
 
202
  for frame_path in frames:
 
196
  total_frames = len(frames)
197
 
198
  for frame_path in frames:
199
+ if check_nsfw_final(f"https://sdafd-video-nsfw-detect.hf.space/file=/tmp/gradio/{frame_path}"):
200
  nsfw_count += 1
201
 
202
  for frame_path in frames: