Skip to content

Latest commit

 

History

History
11 lines (7 loc) · 677 Bytes

README.md

File metadata and controls

11 lines (7 loc) · 677 Bytes

Functioning of requests:

  1. There are two request codes namely classify_request.py and train_request.py for /predict and /train respectively.
  2. The classify_request.py sents a spam editor account to be classified by the lodbrok model running in the backend. The command python classify_request.py gives the following output:

3) The train_request.py sents a spam editor accounts along with verdict given by SpamNinja as spam or not. The command python train_request.py gives the following output:

More details regarding the API functioning is written here.