import os import sys # Ensure the src module is in the path sys.path.append(os.path.abspath(os.path.dirname(__file__))) # Import the Gradio demo from your web app from src.web.app import demo if __name__ == "__main__": # Launch on 0.0.0.0 for Hugging Face Spaces compatibility demo.launch(server_name="0.0.0.0", server_port=7860)