Create a file .env
with OPENAI_API_KEY
env:
OPENAI_API_KEY=<my-key>
Once this is done, run the command below to isolate Python and our application's dependencies:
python -m venv venv
To activate run:
source venv/bin/activate
To install application's dependencies:
pip install -r requirements.txt
To run script files:
python cat-name-app/cat-name.py
To run script files:
python albums-app/albums.py
Example:
To run script files:
python -m streamlit run pdf-chat/streamlit_app.py
Example:
Source: https://www.sbc.org.br/images/flippingbook/computacaobrasil/computa_39/pdf/CompBrasil_39_180.pdf
Chat