Skip to content

Commit

Permalink
add example
Browse files Browse the repository at this point in the history
  • Loading branch information
aniketmaurya committed Nov 30, 2023
1 parent 7f7906c commit 00ed0ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ python -m fastserve
```python
from fastserve.models import FastServeSSD

serve = FastServeSSD(device="cuda")
serve = FastServeSSD(device="cuda", batch_size=4, timeout=1)
serve.run_server()
```

or, run `python -m fastserve.models --model ssd-1b` from terminal.
or, run `python -m fastserve.models --model ssd-1b --batch_size 4 --timeout 1` from terminal.


<!-- ## Demo
Expand Down

0 comments on commit 00ed0ec

Please sign in to comment.