Spaces:
Sleeping

faseehsandhu commited on
Commit
5440e48
·
1 Parent(s): 8a9663c
Files changed (4) hide show
  1. .streamlit/config.toml +15 -0
  2. README.md +11 -0
  3. app.py +16 -0
  4. requirements.txt +7 -8
.streamlit/config.toml ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [theme]
2
+ primaryColor = "#4F46E5"
3
+ backgroundColor = "#FFFFFF"
4
+ secondaryBackgroundColor = "#F3F4F6"
5
+ textColor = "#1F2937"
6
+ font = "sans serif"
7
+
8
+ [server]
9
+ headless = true
10
+ port = 7860
11
+ enableCORS = false
12
+ enableXsrfProtection = true
13
+
14
+ [browser]
15
+ gatherUsageStats = false
README.md CHANGED
@@ -1,3 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
1
  # Streamlit Data Dictionary Chatbot
2
 
3
  An AI-powered intelligent assistant that helps data scientists and analysts quickly discover relevant columns and datasets for machine learning projects. Instead of manually searching through multiple data dictionaries, users can describe their use case in natural language and receive intelligent, cited recommendations powered by Azure OpenAI.
 
1
+ ---
2
+ title: Data Dictionary Chatbot
3
+ emoji: 📚
4
+ colorFrom: blue
5
+ colorTo: purple
6
+ sdk: streamlit
7
+ sdk_version: "1.32.0"
8
+ app_file: app.py
9
+ pinned: false
10
+ ---
11
+
12
  # Streamlit Data Dictionary Chatbot
13
 
14
  An AI-powered intelligent assistant that helps data scientists and analysts quickly discover relevant columns and datasets for machine learning projects. Instead of manually searching through multiple data dictionaries, users can describe their use case in natural language and receive intelligent, cited recommendations powered by Azure OpenAI.
app.py ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ Main entry point for Hugging Face Spaces deployment.
3
+ This file imports and runs the Streamlit app from the src directory.
4
+ """
5
+ import sys
6
+ from pathlib import Path
7
+
8
+ # Add src directory to path
9
+ src_path = Path(__file__).parent / "src"
10
+ sys.path.insert(0, str(src_path))
11
+
12
+ # Import and run the main app
13
+ from app import main
14
+
15
+ if __name__ == "__main__":
16
+ main()
requirements.txt CHANGED
@@ -1,8 +1,7 @@
1
- streamlit
2
- pandas
3
- openai
4
- PyPDF2
5
- python-dotenv
6
- streamlit-chat
7
- requests
8
- openpyxl
 
1
+ streamlit>=1.32.0
2
+ pandas>=2.0.0
3
+ openai>=1.12.0
4
+ PyPDF2>=3.0.0
5
+ python-dotenv>=1.0.0
6
+ requests>=2.31.0
7
+ openpyxl>=3.1.0