Skip to content

jerem64/API_Flask_OpenAI_CV

Repository files navigation

HOW TO MAKE IT WORK

  1. Create a new virtual environment
python3 -m venv env
  1. Activate the virtual environment
source env/bin/activate
  1. Install required packages
pip install -r requirements.txt
  1. Define the Python file to be used by Flask
export FLASK_APP=app.py
  1. Start the app
flask run --debug
  1. Deploy with
gcloud run deploy

WARNING

Do not push the key API_Keys.json on GitHug as it is public, if done OpenAI will detect it and mark the key as leaked. Adding the key to the .gitignore file generate an error because when deploying the file is ignored...

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published