Ranjit0034 commited on
Commit
6608d5e
·
verified ·
1 Parent(s): fd25f34

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +23 -0
app.py ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ Hugging Face Spaces App
3
+ ========================
4
+
5
+ This file is for deploying FinEE on Hugging Face Spaces.
6
+ Place this file as 'app.py' in your Spaces repository.
7
+ """
8
+
9
+ import os
10
+ import sys
11
+
12
+ # Add src to path for local development
13
+ sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'src'))
14
+
15
+ # Import and launch the Gradio UI
16
+ from finee.ui import create_ui
17
+
18
+ # Create the demo
19
+ demo = create_ui()
20
+
21
+ # Required for Hugging Face Spaces
22
+ if __name__ == "__main__":
23
+ demo.launch()