pymllm.mobile.service.tools¶
Attributes¶
Functions¶
|
Starts the MLLM Service using Uvicorn ASGI server. |
Module Contents¶
- pymllm.mobile.service.tools.cli_app¶
- pymllm.mobile.service.tools.main(host='127.0.0.1', port=8000, workers=1, reload=False, model_name=None)¶
Starts the MLLM Service using Uvicorn ASGI server.
- Parameters:
host (Annotated[str, typer.Option(help='The host to bind the server to.')])
port (Annotated[int, typer.Option(help='The port to run the server on.')])
workers (Annotated[int, typer.Option(help='Number of worker processes.')])
reload (Annotated[bool, typer.Option(help='Enable auto-reload for development.')])
model_name (Annotated[str, typer.Option(help='Model Name')])