Update app.py
Browse files
app.py
CHANGED
|
@@ -28,11 +28,11 @@ llm = ChatGroq(
|
|
| 28 |
)
|
| 29 |
|
| 30 |
# --- HuggingFace Embeddings ---
|
| 31 |
-
embedding = HuggingFaceEmbeddings(
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
)
|
| 36 |
|
| 37 |
# --- Streamlit UI ---
|
| 38 |
st.title("📄📥 Chat with PDF or Text using Groq + RAG")
|
|
|
|
| 28 |
)
|
| 29 |
|
| 30 |
# --- HuggingFace Embeddings ---
|
| 31 |
+
# embedding = HuggingFaceEmbeddings(
|
| 32 |
+
# model_name="sentence-transformers/all-MiniLM-L6-v2",
|
| 33 |
+
# cache_folder="./hf_cache",
|
| 34 |
+
# huggingfacehub_api_token=HUGGINGFACE_API_KEY
|
| 35 |
+
# )
|
| 36 |
|
| 37 |
# --- Streamlit UI ---
|
| 38 |
st.title("📄📥 Chat with PDF or Text using Groq + RAG")
|