brotee commited on
Commit
0541e4a
Β·
verified Β·
1 Parent(s): 8d74896

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -97,7 +97,7 @@ def create_query(history, question):
97
  import urllib.parse
98
  import os
99
 
100
- os.environ["GEMINI_API_KEY"] = GEMINI_API_KEY
101
 
102
 
103
  def get_url(url):
@@ -206,7 +206,7 @@ def google_search(query):
206
  import os
207
  import google.generativeai as genai
208
 
209
- genai.configure(api_key=os.environ["GEMINI_API_KEY"])
210
 
211
  # Create the model
212
  generation_config = {
 
97
  import urllib.parse
98
  import os
99
 
100
+ os.environ["GOOGLE_API_KEY"] = GOOGLE_API_KEY
101
 
102
 
103
  def get_url(url):
 
206
  import os
207
  import google.generativeai as genai
208
 
209
+ genai.configure(api_key=os.environ["GOOGLE_API_KEY"])
210
 
211
  # Create the model
212
  generation_config = {