cfb40 / app /__init__.py
andytaylor-smg's picture
fixing the small things
bb03a73
"""
CFB Video Finder - Gradio Web Application Package.
This package provides a web interface for:
1. Searching for college football games by team name(s)
2. Viewing search results with thumbnails
3. Downloading videos to server or uploading manually for processing
4. Configuring region detection settings interactively
"""
import logging
import sys
# Configure logging before other imports as a baseline.
# NOTE: When running via app/main.py, Gradio overrides the root logger during
# import, so app/main.py reconfigures logging explicitly after Gradio loads.
# This basicConfig serves as a fallback for non-Gradio imports of this package.
logging.basicConfig(
level=logging.INFO,
format="%(asctime)s - %(name)s - %(levelname)s - %(message)s",
force=True,
)
# Add src to path for imports from the main project
sys.path.insert(0, "src")
from app.build import build_app # noqa: E402 # pylint: disable=wrong-import-position
__all__ = ["build_app"]