Spaces:
Runtime error
Runtime error
Update README.md
Browse files
README.md
CHANGED
@@ -4,7 +4,7 @@ emoji: 📘
|
|
4 |
colorFrom: indigo
|
5 |
colorTo: blue
|
6 |
sdk: gradio
|
7 |
-
sdk_version:
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
---
|
@@ -22,3 +22,17 @@ This Space uses:
|
|
22 |
|
23 |
1. Go to your Space’s **Settings → Repository secrets**.
|
24 |
2. Add your Groq API key as:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
colorFrom: indigo
|
5 |
colorTo: blue
|
6 |
sdk: gradio
|
7 |
+
sdk_version: 5.44.1
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
---
|
|
|
22 |
|
23 |
1. Go to your Space’s **Settings → Repository secrets**.
|
24 |
2. Add your Groq API key as:
|
25 |
+
GROQ_API_KEY = your_api_key_here
|
26 |
+
|
27 |
+
## 🚀 Usage
|
28 |
+
|
29 |
+
1. Upload a PDF paper.
|
30 |
+
2. Ask questions in the chatbox.
|
31 |
+
3. The system retrieves relevant chunks from the PDF and asks Groq’s LLM to explain in simple terms.
|
32 |
+
|
33 |
+
## 🧩 Models
|
34 |
+
- Embeddings: `intfloat/e5-base-v2`
|
35 |
+
- Vector DB: FAISS
|
36 |
+
- LLM (via Groq API): `qwen/qwen3-32b` (default, can be swapped for `llama3-70b`)
|
37 |
+
|
38 |
+
---
|