fani-lab / LADy

LADy 💃: A Benchmark Toolkit for Latent Aspect Detection Enriched with Backtranslation Augmentation
Other
3 stars 3 forks source link

Test website #41

Closed impedaka closed 11 months ago

impedaka commented 1 year ago

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

hosseinfani commented 1 year 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.

impedaka commented 1 year ago

@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

hosseinfani commented 1 year ago

@impedaka thank you.