always remove tensorflow-intel from requirements.txt before pushing code
Kinda mind-blowing how this simple task is so complicated in Python. Here is what I think is the best way to do it automatically.
To Intialize this app on your local(One time).
- Clone repository on local
- Install conda on your machine
- conda create --name dscienv (This is to create a python environment)
- conda activate dscienv (To activate the environment)
- pip3 install -r requirements.txt (TO INSTALL DEPENDENCIES)
- uvicorn main:app --reload (To run the application on local)
IMP : always add libraries/dependencies with version in requirements.in after doing pip install and then pip-compile
To run app later everytime: 1)conda activate dscienv 2)uvicorn main:app --reload
To remove all pycache : find . -type d -name "pycache" -exec rm -r {} +
admin token : ####