srinidhidevaraj commited on
Commit
84a61cb
1 Parent(s): 30cc917

Add application file

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -39,7 +39,8 @@ LANGCHAIN_ENDPOINT="https://api.smith.langchain.com"
39
  prompt=PromptTemplate(template=prompt_template, input_variables=["context", "question"])
40
  # print(PROMPT)
41
  llm=ChatGroq(groq_api_key=groq_api_key,model_name="mixtral-8x7b-32768")
42
- file_path="data/Medical_book.pdf"
 
43
  pinecone_vector_store=doc_loader(file_path)
44
 
45
  print(type(pinecone_vector_store))
 
39
  prompt=PromptTemplate(template=prompt_template, input_variables=["context", "question"])
40
  # print(PROMPT)
41
  llm=ChatGroq(groq_api_key=groq_api_key,model_name="mixtral-8x7b-32768")
42
+ # file_path="data/Medical_book.pdf"
43
+ file_path='https://github.com/SrinidDev/Medical_GPT/blob/main/data/Medical_book.pdf'
44
  pinecone_vector_store=doc_loader(file_path)
45
 
46
  print(type(pinecone_vector_store))