The agent keeps a finger on the pulse of the market.
This project uses Python 3 with a virtual environment to keep dependencies isolated from your system Python.
- Python 3.8 or higher
- pip (Python package installer)
-
Create a virtual environment:
python3 -m venv venv
-
Activate the virtual environment:
- On macOS/Linux:
source venv/bin/activate - On Windows:
venv\Scripts\activate
- On macOS/Linux:
-
Install dependencies:
pip install -r requirements.txt
-
Verify installation:
python --version pip list
After activating the virtual environment, you can run any of the scripts:
# Generate narration scripts from Google Slides
python video_generation/generate_narration_script.py --id YOUR_PRESENTATION_ID
# Generate audio files from narration scripts
python video_generation/generate_audio_ssml.py --id YOUR_PRESENTATION_ID
# Export slides as PNG images
python video_generation/generate_thumbnail.py --id YOUR_PRESENTATION_ID
# Generate video with captions
python video_generation/generate_video_caption.py --id YOUR_PRESENTATION_IDWhen you're done working, deactivate the virtual environment:
deactivateThe project includes VS Code/Cursor debug configurations in .vscode/launch.json. Make sure to:
- Create and activate the virtual environment first
- Install dependencies
- Select the Python interpreter from the venv (VS Code/Cursor should detect it automatically)
The debug configurations will automatically use the virtual environment's Python interpreter.