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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -33,6 +33,9 @@ llm = ChatGroq(
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")
 
33
  # cache_folder="./hf_cache",
34
  # huggingfacehub_api_token=HUGGINGFACE_API_KEY
35
  # )
36
+ embedding = HuggingFaceEmbeddings(
37
+ model_name="sentence-transformers/all-MiniLM-L6-v2"
38
+ )
39
 
40
  # --- Streamlit UI ---
41
  st.title("📄📥 Chat with PDF or Text using Groq + RAG")