Aabbhishekk commited on
Commit
018ec39
1 Parent(s): 7ec2a94

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,5 +1,5 @@
1
  import streamlit as st
2
- from dotenv import load_dotenv
3
  from langchain.chains import RetrievalQA
4
  from langchain.chains.question_answering import load_qa_chain
5
  from langchain_community.llms import HuggingFaceHub
@@ -11,7 +11,7 @@ from langchain.prompts import PromptTemplate
11
  from tempfile import NamedTemporaryFile
12
 
13
  # Load environment variables
14
- load_dotenv()
15
 
16
  # Function to create a prompt for retrieval QA chain
17
  def create_qa_prompt() -> PromptTemplate:
 
1
  import streamlit as st
2
+ # from dotenv import load_dotenv
3
  from langchain.chains import RetrievalQA
4
  from langchain.chains.question_answering import load_qa_chain
5
  from langchain_community.llms import HuggingFaceHub
 
11
  from tempfile import NamedTemporaryFile
12
 
13
  # Load environment variables
14
+ # load_dotenv()
15
 
16
  # Function to create a prompt for retrieval QA chain
17
  def create_qa_prompt() -> PromptTemplate: