File size: 506 Bytes
3e165b2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
from gradio import Blocks

from visualizr import DEBUG, SERVER_NAME, SERVER_PORT
from visualizr.gui import app_block


def main() -> None:
    """Launch the Gradio voice generation web application."""
    app: Blocks = app_block()
    app.queue(api_open=True).launch(
        server_name=SERVER_NAME,
        server_port=SERVER_PORT,
        debug=DEBUG,
        mcp_server=True,
        show_api=True,
        enable_monitoring=True,
        show_error=True,
    )


if __name__ == "__main__":
    main()