How to use deployed app.py
-
Checkout to branch "main"
-
type command "pip install-r requirements.txt" ( make sure you're in root folder of nbs-ml)
pip install -r requirements.txt -
route to folder deploy-google, type below code in your terminal/cmd
cd deploy-google/ -
Set the flask app to initialize the app, type below code in your terminal/cmd
# For windows or mac: set FLASK_APP=app.py -
run the website by your terminal/cmd. type below code in your terminal/cmd
python app.py -
open your browser and enter "http://127.0.0.1:5000/recommend-synopsys?id=100". The id value is replaceable.
-
You can try other endpoint "http://127.0.0.1:5000/recommend-collab?id=2", "http://127.0.0.1:5000/recommend-metadata?id=2"