SiraH commited on
Commit
5454087
1 Parent(s): a8f8645

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -91,9 +91,9 @@ def main():
91
  # llm = HuggingFaceHub(
92
  # repo_id=repo_id, model_kwargs={"temperature": 0.1, "max_length": 128})
93
 
94
- # llm = load_llama2_llamaCpp()
95
- # qa_prompt = set_custom_prompt()
96
- # embeddings = load_embeddings()
97
 
98
  uploaded_file = st.file_uploader('Choose your .pdf file', type="pdf")
99
  if uploaded_file is not None :
 
91
  # llm = HuggingFaceHub(
92
  # repo_id=repo_id, model_kwargs={"temperature": 0.1, "max_length": 128})
93
 
94
+ llm = load_llama2_llamaCpp()
95
+ qa_prompt = set_custom_prompt()
96
+ embeddings = load_embeddings()
97
 
98
  uploaded_file = st.file_uploader('Choose your .pdf file', type="pdf")
99
  if uploaded_file is not None :