# This file is needed for Hugging Face Spaces to recognize the app # It simply imports and runs the Gradio app from app_huggingface.py import os import sys # Run setup to ensure all files exist try: import huggingface_setup huggingface_setup.ensure_files_exist() except Exception as e: print(f"Setup error: {e}") # Import and run the Gradio app from app_huggingface import create_interface # Create the Gradio interface app = create_interface() # For Hugging Face Spaces if __name__ == "__main__": app.launch()