prabalGaur commited on
Commit
d798cdf
·
verified ·
1 Parent(s): bc8d1c6

Upload folder using huggingface_hub

Browse files
Files changed (4) hide show
  1. README.md +21 -14
  2. app.py +25 -0
  3. memory.json +1 -0
  4. requirements.txt +17 -0
README.md CHANGED
@@ -1,14 +1,21 @@
1
- ---
2
- title: Capstone
3
- emoji: 👀
4
- colorFrom: indigo
5
- colorTo: pink
6
- sdk: gradio
7
- sdk_version: 6.22.0
8
- python_version: '3.12'
9
- app_file: app.py
10
- pinned: false
11
- short_description: Price is right
12
- ---
13
-
14
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
1
+ ---
2
+ title: Capstone - The Price Is Right
3
+ emoji: 💰
4
+ colorFrom: blue
5
+ colorTo: green
6
+ sdk: gradio
7
+ sdk_version: "5.47.2"
8
+ app_file: app.py
9
+ pinned: false
10
+ license: mit
11
+ ---
12
+
13
+ # Capstone — The Price Is Right
14
+
15
+ Multi-agent deal hunting AI for the LLM Engineering capstone project.
16
+
17
+ - Scans DealNews RSS feeds for deals
18
+ - Estimates true product prices with RAG + Groq + neural network
19
+ - Surfaces bargains in a live Gradio dashboard
20
+
21
+ **Secrets required:** `GROQ_API_KEY`, `HF_TOKEN`, `USE_MODAL_SPECIALIST=false`, `GRADIO_SERVER_NAME=0.0.0.0`
app.py ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ Hugging Face Spaces entry point.
3
+
4
+ Upload the entire week8/ folder into the Space repo root (this file becomes app.py),
5
+ or copy week8/* into the Space and rename/move as needed.
6
+
7
+ Required Space secrets: GROQ_API_KEY, HF_TOKEN, USE_MODAL_SPECIALIST=false
8
+ """
9
+
10
+ import os
11
+ import sys
12
+ from pathlib import Path
13
+
14
+ # When week8 is the Space root, agents/ and deal_agent_framework.py are siblings.
15
+ ROOT = Path(__file__).resolve().parent
16
+ if str(ROOT) not in sys.path:
17
+ sys.path.insert(0, str(ROOT))
18
+
19
+ os.environ.setdefault("GRADIO_SERVER_NAME", "0.0.0.0")
20
+ os.environ.setdefault("PRICER_PREPROCESSOR_MODEL", "groq/llama-3.1-8b-instant")
21
+
22
+ from price_is_right import App
23
+
24
+ if __name__ == "__main__":
25
+ App().run()
memory.json ADDED
@@ -0,0 +1 @@
 
 
1
+ []
requirements.txt ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ gradio>=5.47.2,<6.0
2
+ chromadb>=1.1.0
3
+ sentence-transformers>=5.1.1
4
+ groq>=0.33.0
5
+ litellm>=1.77.5
6
+ python-dotenv>=1.1.1
7
+ pydantic>=2.0
8
+ beautifulsoup4>=4.14.2
9
+ feedparser>=6.0.12
10
+ requests>=2.32.5
11
+ numpy>=2.3.3
12
+ scikit-learn>=1.7.2
13
+ plotly>=6.3.0
14
+ pandas>=2.3.3
15
+ torch>=2.8.0
16
+ modal>=1.1.4
17
+ tqdm>=4.67.1