MBilal-72 commited on
Commit
b78c373
·
verified ·
1 Parent(s): 0d5b491

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -28,11 +28,11 @@ llm = ChatGroq(
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")
 
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")