Jesus Lopez
feat: applio
a8c39f5
raw
history blame
470 Bytes
import click
from click_help_colors import HelpColorsGroup
@click.group(
cls=HelpColorsGroup,
help_headers_color="yellow",
help_options_color="green",
)
def main() -> None:
"""TTS Service CLI"""
@main.command()
@click.option("--share", is_flag=True, help="Share the service")
def serve(share: bool) -> None:
"""Start the TTS Service"""
from tts_service.app import Applio
Applio.launch(share=share)
if __name__ == "__main__":
main()