BivinSadler commited on
Commit
dc66a12
Β·
verified Β·
1 Parent(s): 92379ec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -29,8 +29,8 @@ def build_rag_agent(pdf_path):
29
  return RetrievalQA.from_chain_type(llm=llm, retriever=retriever, chain_type="stuff")
30
 
31
  # βœ… Create RAG agents for course syllabi
32
- stat6371_agent = build_rag_agent("/content/drive/MyDrive/PDFs/ds_6371_syllabus Ver 7.pdf")
33
- ds6306_agent = build_rag_agent("/content/drive/MyDrive/PDFs/DDS_Syllabus_2025.pdf")
34
 
35
  # βœ… Load Hugging Face fine-tuned model for general statistics questions
36
  general_stat_agent = pipeline("text2text-generation", model="google/flan-t5-base") # Replace with your model
 
29
  return RetrievalQA.from_chain_type(llm=llm, retriever=retriever, chain_type="stuff")
30
 
31
  # βœ… Create RAG agents for course syllabi
32
+ stat6371_agent = build_rag_agent("/content/drive/MyDrive/PDFs/ds6371syllabusVer7.pdf")
33
+ ds6306_agent = build_rag_agent("/content/drive/MyDrive/PDFs/DDSSyllabus2025.pdf")
34
 
35
  # βœ… Load Hugging Face fine-tuned model for general statistics questions
36
  general_stat_agent = pipeline("text2text-generation", model="google/flan-t5-base") # Replace with your model