akarshrajsingh7 commited on
Commit
fecabd0
1 Parent(s): f1955c9

Open source edition

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. llm_chain.py +1 -1
app.py CHANGED
@@ -36,7 +36,7 @@ def main():
36
  # render_background_img(background_path)
37
 
38
  # Chat User input
39
- st.header("Chat with PDFs :books:")
40
  user_question = st.text_input("Ask a question about your documents:")
41
  styl = f"""
42
  <style>
 
36
  # render_background_img(background_path)
37
 
38
  # Chat User input
39
+ st.header("Chat with PDFs (Open-Source LLM):books:")
40
  user_question = st.text_input("Ask a question about your documents:")
41
  styl = f"""
42
  <style>
llm_chain.py CHANGED
@@ -12,7 +12,7 @@ from langchain.llms import HuggingFaceHub
12
 
13
  class RAG_PDF:
14
  '''
15
- Class for implementing RAGs for answer questions from PDFs
16
  '''
17
  def __init__(self, pdf_docs, model = "open-source"):
18
  '''
 
12
 
13
  class RAG_PDF:
14
  '''
15
+ Class for implementing RAGs for answering questions from PDFs
16
  '''
17
  def __init__(self, pdf_docs, model = "open-source"):
18
  '''