lukejagg / test-canary

Miscellaneous files for ML + web development
0 stars 1 forks source link

Implement API script api_test.py #239

Open ghost opened 1 year ago

ghost commented 1 year ago

Description

This PR implements the API script api_test.py to handle requests from the frontend and run the machine learning model defined in train.py. The API script provides an interface for the frontend to interact with the backend and obtain predictions from the machine learning model.

Summary of Changes

Please review and merge this PR to enable the API functionality and allow the frontend to interact with the machine learning model.

Fixes #238.


To checkout this PR branch, run the following command in your terminal:

git checkout sweep/api-script

To get Sweep to edit this pull request, leave a comment below or in the code. Leaving a comment in the code will only modify the file but commenting below can change the entire PR.