Merge pull request #214 from openai/isa/file-q-and-a-script-update

Update start script
This commit is contained in:
isafulf 2023-03-12 16:16:06 -07:00 committed by GitHub
commit 45d8f77148
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,8 +3,8 @@ set -e
echo "Starting Python server..."
pip3 install virtualenv
python3 -m virtualenv venv
pip install virtualenv
python -m virtualenv venv
source venv/bin/activate
pip3 install -r requirements.txt
OPENAI_API_KEY=$1 python3 app.py
pip install -r requirements.txt
OPENAI_API_KEY=$1 python app.py