python >= 3.9
pip install --upgrade pip
pip install -r requirements.txtLinux/MacOS (bash/zsh):
export HUGGING_FACE_HUB_TOKEN='your_token_here'export GOOGLE_API_KEY='your_apikey_here'Windows (CMD):
setHUGGING_FACE_HUB_TOKEN=your_token_here
setGOOGLE_API_KEY=your_apikey_hereWindows (PowerShell):
$Env:HUGGING_FACE_HUB_TOKEN='your_token_here'$Env:GOOGLE_API_KEY='your_apikey_here'These commands are for a single session. If you want to keep the variable, add the command in your shell configuration file. (~/.bashrc, ~/.zshrc, ...)
Example
$ echo'export GOOGLE_API_KEY='"YOUR API KEY"' >> ~/.bashrcExecute run.py
python3 run.py