fix: update .gitignore and suppress erramt Gradio warnings in app.py

This commit is contained in:
remsky 2025-01-12 21:34:13 -07:00
parent f4dc292440
commit 898231eefd
2 changed files with 11 additions and 2 deletions

7
.gitignore vendored
View file

@ -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*

View file

@ -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__":