mirror of
https://github.com/openai/openai-cookbook
synced 2024-11-08 01:10:29 +00:00
Merge pull request #214 from openai/isa/file-q-and-a-script-update
Update start script
This commit is contained in:
commit
56cd84989d
@ -3,8 +3,8 @@ set -e
|
|||||||
|
|
||||||
echo "Starting Python server..."
|
echo "Starting Python server..."
|
||||||
|
|
||||||
pip3 install virtualenv
|
pip install virtualenv
|
||||||
python3 -m virtualenv venv
|
python -m virtualenv venv
|
||||||
source venv/bin/activate
|
source venv/bin/activate
|
||||||
pip3 install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
OPENAI_API_KEY=$1 python3 app.py
|
OPENAI_API_KEY=$1 python app.py
|
||||||
|
Loading…
Reference in New Issue
Block a user