""" Hugging Face Spaces App ======================== This file is for deploying FinEE on Hugging Face Spaces. Place this file as 'app.py' in your Spaces repository. """ import os import sys # Add src to path for local development sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'src')) # Import and launch the Gradio UI from finee.ui import create_ui # Create the demo demo = create_ui() # Required for Hugging Face Spaces if __name__ == "__main__": demo.launch()