Skip to content

Commit

Permalink
remove hf space logic
Browse files Browse the repository at this point in the history
  • Loading branch information
parsakhaz committed Feb 20, 2025
1 parent 593ac21 commit c4a8a5c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions recipes/promptable-content-moderation/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
import pandas as pd
from video_visualization import create_video_visualization

# import spaces

# Get absolute path to workspace root
WORKSPACE_ROOT = os.path.dirname(os.path.abspath(__file__))

Expand All @@ -26,9 +24,6 @@
# Initialize Moondream model globally for reuse (will be loaded on first use)
model, tokenizer = None, None


# Uncomment for Hugging Face Spaces
# @spaces.GPU(duration=120)
def process_video_file(
video_file,
target_object,
Expand Down

0 comments on commit c4a8a5c

Please sign in to comment.