We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da36606 commit 3ede124Copy full SHA for 3ede124
README.md
@@ -149,6 +149,14 @@ if __name__ == "__main__":
149
server = ls.LitServer(InferenceEngine(max_batch_size=1), accelerator="auto")
150
server.run(port=8000)
151
```
152
+
153
+Ping the server from the terminal to have it generate some metrics
154
+```bash
155
+curl -X POST http://127.0.0.1:8000/predict -H "Content-Type: application/json" -d '{"input": 4.0}'
156
+curl -X POST http://127.0.0.1:8000/predict -H "Content-Type: application/json" -d '{"input": 5.5}'
157
+curl -X POST http://127.0.0.1:8000/predict -H "Content-Type: application/json" -d '{"input": 2.1}'
158
+```
159
160
</details>
161
162
<details>
0 commit comments