mirror of
https://github.com/remsky/Kokoro-FastAPI.git
synced 2025-04-13 09:39:17 +00:00
11 lines
428 B
Python
11 lines
428 B
Python
import warnings
|
|
|
|
# Filter out Gradio Dropdown warnings about values not in choices
|
|
#TODO: Warning continues to be displayed, though it isn't breaking anything
|
|
warnings.filterwarnings('ignore', category=UserWarning, module='gradio.components.dropdown')
|
|
|
|
from lib.interface import create_interface
|
|
|
|
if __name__ == "__main__":
|
|
demo = create_interface()
|
|
demo.launch(server_name="0.0.0.0", server_port=7860, show_error=True)
|