Skip to content

Commit

Permalink
docs: add missing docs
Browse files Browse the repository at this point in the history
  • Loading branch information
winstxnhdw committed Sep 6, 2024
1 parent 4f2b300 commit d41b4e2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions server/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ class Config(BaseSettings):
server_root_path (str) : the root path for the server
worker_count (int) : the number of workers to use
use_cuda (bool) : whether to use CUDA for inference
transcriber_model_name (str) : the name of the transcriber model to use
"""

server_port: int = 49494
Expand Down
4 changes: 4 additions & 0 deletions server/state.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ class AppState(State):
Summary
-------
the Litestar application state that will be injected into the routers
Attributes
----------
transcriber (TranscriberProtocol) : the transcriber instance for transcribing audio
"""

transcriber: TranscriberProtocol

0 comments on commit d41b4e2

Please sign in to comment.