817 B
817 B
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.