Update README.md
Browse files
README.md
CHANGED
|
@@ -27,13 +27,13 @@ pvs_sft5
|
|
| 27 |
|
| 28 |
## Start the web server with the model running
|
| 29 |
|
| 30 |
-
python -m uvicorn sft_fastapi:app --host 0.0.0.0 --port 8000
|
| 31 |
|
| 32 |
## Send requests to the server
|
| 33 |
|
| 34 |
-
`curl http://localhost:8000/health` to check server health
|
|
|
|
| 35 |
|
| 36 |
-
Send get requests:
|
| 37 |
```
|
| 38 |
curl -X POST http://localhost:8000/recommend \
|
| 39 |
-H "Content-Type: application/json" \
|
|
|
|
| 27 |
|
| 28 |
## Start the web server with the model running
|
| 29 |
|
| 30 |
+
```python -m uvicorn sft_fastapi:app --host 0.0.0.0 --port 8000```
|
| 31 |
|
| 32 |
## Send requests to the server
|
| 33 |
|
| 34 |
+
`curl http://localhost:8000/health` --> to check server health
|
| 35 |
+
|
| 36 |
|
|
|
|
| 37 |
```
|
| 38 |
curl -X POST http://localhost:8000/recommend \
|
| 39 |
-H "Content-Type: application/json" \
|