mirror of
https://github.com/remsky/Kokoro-FastAPI.git
synced 2025-04-13 09:39:17 +00:00
fix: update .gitignore and suppress erramt Gradio warnings in app.py
This commit is contained in:
parent
f4dc292440
commit
898231eefd
2 changed files with 11 additions and 2 deletions
7
.gitignore
vendored
7
.gitignore
vendored
|
@ -6,6 +6,7 @@ __pycache__
|
|||
*.pyc
|
||||
*.pyo
|
||||
*.pyd
|
||||
*.pt
|
||||
.Python
|
||||
*.py[cod]
|
||||
*$py.class
|
||||
|
@ -29,7 +30,8 @@ ENV/
|
|||
# Project specific
|
||||
examples/
|
||||
Kokoro-82M/
|
||||
ui/
|
||||
ui/data
|
||||
|
||||
tests/
|
||||
*.md
|
||||
*.txt
|
||||
|
@ -42,4 +44,5 @@ docker-compose*
|
|||
*.egg-info
|
||||
*.pt
|
||||
*.wav
|
||||
*.tar*
|
||||
*.tar*
|
||||
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
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__":
|
||||
|
|
Loading…
Add table
Reference in a new issue