Closed impedaka closed 11 months ago
@impedaka there is a folder venv in your pr. Do we need it in the codebase? also, the /backend/models? I can change the path to the main directory of models later.
@hosseinfani
there is a folder venv in your pr. Do we need it in the codebase?
No, as long as there's Flask and flask_cors installed. All of the libraries we need should be in LADy/requirements.txt (but I didn't add Flask or flask_cors in there yet). I'll delete the LADy/src/web/backend/requirements.txt and LADy/src/web/backend/venv
also, the /backend/models? I can change the path to the main directory of models later.
I can change it so that it uses models from LADy/output folder
@impedaka thank you.
If only running the backend and using the host as an api, go to src/web/backend. Test by going to http://{domain_name}/random, and if it works, then it should return a random review