#!/usr/bin/env python3 """ PodcastMcpGradio - Main Entry Point This is the main entry point for the PodcastMcpGradio application. Simplified for Hugging Face Spaces deployment. """ import os import sys # Add current directory to path for src imports current_dir = os.path.dirname(os.path.abspath(__file__)) sys.path.insert(0, current_dir) # Set environment for HF Spaces os.environ.setdefault("DEPLOYMENT_MODE", "local") os.environ.setdefault("HF_SPACES_MODE", "1") # Import and create app from src.app import create_app, run_local # Create app instance app = create_app() if __name__ == "__main__": # Run the application print("🚀 Starting PodcastMcpGradio application") run_local()