Skip to content

Commit

Permalink
docs(runner): add Swagger UI section
Browse files Browse the repository at this point in the history
This commit ensures that developers are aware that we have a Swagger UI
interface running on `https://localhost:8000/docs`.
  • Loading branch information
rickstaa committed Apr 24, 2024
1 parent 49bfb02 commit e89706d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions runner/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,12 @@ Retrieve the image from the response:
curl -O 0.0.0.0:8937/stream/<STREAM_URL>.mp4
```

### Test with Swagger UI

![Swagger UI](https://fastapi.tiangolo.com/img/index/index-03-swagger-02.png)

The runner comes with a built-in [Swagger UI](https://fastapi.tiangolo.com/features/) for testing API endpoints. Visit `http://localhost:8000/docs` to access it.

### Apply Pipeline Optimizations

The runner contains several optimizations to speed up inference or reduce memory usage:
Expand Down

0 comments on commit e89706d

Please sign in to comment.