Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions .github/workflows/operator-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,13 @@ jobs:
uv pip install ".[dev]"

echo "Installing Operator system level packages"
echo "Installing ffmpeg..."
echo "Installing ffmpeg and tesseract-ocr..."
sudo apt-get update > /dev/null
sudo apt-get install -y ffmpeg > /dev/null
sudo apt-get install -y ffmpeg tesseract-ocr > /dev/null
Comment thread
aatmanvaidya marked this conversation as resolved.
Outdated
echo "ffmpeg version:"
ffmpeg -version
echo "tesseract version:"
tesseract --version

- name: Run tests for changed operators
if: steps.check-changes.outputs.has_changes == 'true'
Expand Down Expand Up @@ -169,6 +171,13 @@ jobs:
sudo apt-get autoremove -y > /dev/null
echo "FFmpeg removed"

# Remove tesseract-ocr
echo "----------------------------------------"
echo "Removing tesseract-ocr..."
sudo apt-get remove -y tesseract-ocr > /dev/null
Comment thread
aatmanvaidya marked this conversation as resolved.
Outdated
sudo apt-get autoremove -y > /dev/null
echo "Tesseract removed"

echo "----------------------------------------"
echo "Cleanup completed"
echo "----------------------------------------"
2 changes: 1 addition & 1 deletion operators/detect_lewd_images/detect_lewd_images.py
Comment thread
aatmanvaidya marked this conversation as resolved.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ def initialize(param):
Args:
param (dict): Parameters for initialization
"""
print("Installing packages for classify_video_zero_shot")
print("Installing packages for detect_lewd_images")
global inference
global model
global pad_resize_image
Expand Down
Loading