Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,6 +6,7 @@ from pypdf import PdfReader
|
|
| 6 |
from sentence_transformers import SentenceTransformer
|
| 7 |
from sklearn.metrics.pairwise import cosine_similarity
|
| 8 |
|
|
|
|
| 9 |
# ---------------- CONFIG ----------------
|
| 10 |
GROQ_API_KEY = os.environ.get("smartdoc_rag_chatbot") # HF Secrets me add hona chahiye
|
| 11 |
GROQ_URL = "https://api.groq.com/openai/v1/chat/completions"
|
|
|
|
| 6 |
from sentence_transformers import SentenceTransformer
|
| 7 |
from sklearn.metrics.pairwise import cosine_similarity
|
| 8 |
|
| 9 |
+
|
| 10 |
# ---------------- CONFIG ----------------
|
| 11 |
GROQ_API_KEY = os.environ.get("smartdoc_rag_chatbot") # HF Secrets me add hona chahiye
|
| 12 |
GROQ_URL = "https://api.groq.com/openai/v1/chat/completions"
|