Spaces:
Running
Running
Update app.py
Browse files
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
|
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:
|