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
5
.gitignore
vendored
5
.gitignore
vendored
|
@ -6,6 +6,7 @@ __pycache__
|
||||||
*.pyc
|
*.pyc
|
||||||
*.pyo
|
*.pyo
|
||||||
*.pyd
|
*.pyd
|
||||||
|
*.pt
|
||||||
.Python
|
.Python
|
||||||
*.py[cod]
|
*.py[cod]
|
||||||
*$py.class
|
*$py.class
|
||||||
|
@ -29,7 +30,8 @@ ENV/
|
||||||
# Project specific
|
# Project specific
|
||||||
examples/
|
examples/
|
||||||
Kokoro-82M/
|
Kokoro-82M/
|
||||||
ui/
|
ui/data
|
||||||
|
|
||||||
tests/
|
tests/
|
||||||
*.md
|
*.md
|
||||||
*.txt
|
*.txt
|
||||||
|
@ -43,3 +45,4 @@ docker-compose*
|
||||||
*.pt
|
*.pt
|
||||||
*.wav
|
*.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
|
from lib.interface import create_interface
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|
Loading…
Add table
Reference in a new issue