File size: 485 Bytes
6608d5e |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
"""
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()
|