import sys from functools import partial from en_tts_app import initialize_app, run_main from en_tts_gr import build_interface exit_code = initialize_app() if exit_code > 0: sys.exit(exit_code) interface = build_interface(cache_examples=False) interface.queue() launch_method = partial( interface.launch, share=False, debug=True, inbrowser=True, quiet=False, show_api=False, ) exit_code = run_main(launch_method) sys.exit(exit_code)