DD009 commited on
Commit
5e409cd
·
verified ·
1 Parent(s): c027265

Upload 2 files

Browse files
Files changed (2) hide show
  1. src/app.py +17 -0
  2. src/requirements.txt +15 -0
src/app.py ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ Hugging Face Spaces Entry Point
3
+ This file is used when deploying to Hugging Face Spaces
4
+ """
5
+
6
+ import sys
7
+ from pathlib import Path
8
+
9
+ # Add app directory to path
10
+ sys.path.insert(0, str(Path(__file__).parent))
11
+
12
+ # Import and run Streamlit app
13
+ from streamlit_app import *
14
+
15
+ # Note: Hugging Face Spaces will automatically detect streamlit_app.py
16
+ # But we can also use this as an entry point if needed
17
+
src/requirements.txt ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Core
2
+ fastapi==0.104.1
3
+ uvicorn==0.24.0
4
+ pydantic==2.5.2
5
+
6
+ # AI/ML
7
+ openai==1.6.1
8
+ pinecone-client==3.0.0
9
+
10
+ # UI
11
+ streamlit==1.29.0
12
+ plotly==5.18.0
13
+
14
+ # Utilities
15
+ python-multipart==0.0.6