You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To run for testing just the Hugging Face deployment for grievence recognition, you can follow the following steps :
14
13
15
14
- Git clone the repo
16
-
- Go to current folder location i.e. ``` cd /src/text_classification/flow_classification/local ```
15
+
- Go to current folder location i.e. ``` cd /src/ner/agri_ner_akai/local ```
17
16
- Create docker image file and test the api:
18
17
```
19
18
docker build -t testmodel .
20
19
docker run -p 8000:8000 testmodel
21
-
curl -X POST -H "Content-Type: application/json" -d '{"text": "Where is my money? "}' http://localhost:8000/
20
+
curl -X POST -H "Content-Type: application/json" -d '{"text": "What are tomatoes and potaotes that are being attacked by aphids? "}' http://localhost:8000/
0 commit comments