Skip to content

Repository files navigation

LazyText

Using AI to not have to respond to text messages

Server Installation

git clone https://github.com/jpatrick5402/LazyText
cd LazyText/
source .env # You'll need to create your own API keys
pip install -r requirements.txt
python MsgClassifierTrainAndSave.py
uvicorn api_server:app --reload --host 0.0.0.0 --port 8000

Testing

curl -s -X POST http://localhost:8000/predict -H "Content-Type: application/json" -d '{"text":"I think I\'m sick"}' | jq
curl -s -X POST http://localhost:8000/predict -H "Content-Type: application/json" -d '{"text":"I miss you!"}' | jq
curl -s -X POST http://localhost:8000/predict -H "Content-Type: application/json" -d '{"text":"Ok"}' | jq

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages