video-query/backend
2025-11-10 18:20:57 +05:30
..
.env Update the Batch Process For Parts of a Single Video 2025-11-10 18:20:57 +05:30
.env.example Update the Batch Process For Parts of a Single Video 2025-11-10 18:20:57 +05:30
app.py Video-Batch and Long Video Working 2025-11-06 18:06:43 +05:30
auth.py initial commit 2025-09-18 14:25:24 -05:00
chunked_upload.py MSAL for brandtechsandbox.oliver.solutions as the config file was pointing to that 2025-10-22 17:00:32 +05:30
fix_jose.sh initial commit 2025-09-18 14:25:24 -05:00
install_wkhtmltopdf.sh initial commit 2025-09-18 14:25:24 -05:00
README.md initial commit 2025-09-18 14:25:24 -05:00
requirements-py310.txt initial commit 2025-09-18 14:25:24 -05:00
requirements.txt fixed SDK to newer version and added download file name feature for pdfs 2025-10-16 07:46:56 -05:00
run.py initial commit 2025-09-18 14:25:24 -05:00
test_api.py fixed SDK to newer version and added download file name feature for pdfs 2025-10-16 07:46:56 -05:00
test_webhook.py initial commit 2025-09-18 14:25:24 -05:00
test_webhook_manual.py initial commit 2025-09-18 14:25:24 -05:00
video-query.service initial commit 2025-09-18 14:25:24 -05:00
video_processor.py Update the Batch Process For Parts of a Single Video 2025-11-10 18:20:57 +05:30
video_splitter.py video queue process error fix 2025-10-22 14:59:39 +05:30

Video Query Backend Service

This backend service processes videos using Google's Gemini API.

Installation for Python 3.10 (Server)

If you're running on Python 3.10, use these installation instructions:

# Create and activate virtual environment
python -m venv venv
source venv/bin/activate

# Install dependencies
pip install -r requirements-py310.txt

# Fix potential jose module conflict
bash fix_jose.sh

Running the Service

python run.py

Troubleshooting

If you encounter a SyntaxError related to the jose module:

SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?

Run the provided fix script:

bash fix_jose.sh

This script will properly uninstall any conflicting jose modules and install the correct python-jose package.