LalitMahale commited on
Commit
4381bf9
·
1 Parent(s): ba1cae1
Files changed (2) hide show
  1. .env +1 -1
  2. utils/rag.py +1 -1
.env CHANGED
@@ -1 +1 @@
1
- Google_api = 'AIzaSyB3wI2r6ZgQnYQ3V39PX5S0zWSRqy5ldYw'
 
1
+ GOOGLE_API = 'AIzaSyB3wI2r6ZgQnYQ3V39PX5S0zWSRqy5ldYw'
utils/rag.py CHANGED
@@ -9,7 +9,7 @@ load_dotenv()
9
  class RAG:
10
  def __init__(self):
11
  self.url = 'https://lalitmahale.github.io'
12
- self.llm = GoogleGenerativeAI(google_api_key=os.getenv("Google_api"),model="gemini-pro")
13
 
14
 
15
  def get_data(self):
 
9
  class RAG:
10
  def __init__(self):
11
  self.url = 'https://lalitmahale.github.io'
12
+ self.llm = GoogleGenerativeAI(google_api_key=os.getenv("GOOGLE_API"),model="gemini-pro")
13
 
14
 
15
  def get_data(self):