""" Hugging Face Spaces entry point for PyTorch Playground. """ import sys from pathlib import Path # Add src to path for local imports src_path = Path(__file__).parent / "src" if src_path.exists(): sys.path.insert(0, str(src_path)) from pytorch_playground.app import create_app demo = create_app() if __name__ == "__main__": demo.launch()