zelk12 commited on
Commit
2e81097
·
verified ·
1 Parent(s): f5e1fc3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -25,8 +25,11 @@ print("\nEnd import library\n=========")
25
  print("=========\nBegin definition Backend Logic\n")
26
 
27
  print("Create default API settings")
 
 
 
28
  client = genai.Client(
29
- api_key=os.getenv("GEMINI_API_KEY"),
30
  http_options=genai.types.HttpOptions(api_version='v1alpha'),
31
  )
32
  print("Set default model")
 
25
  print("=========\nBegin definition Backend Logic\n")
26
 
27
  print("Create default API settings")
28
+
29
+ google_API_key=os.getenv("GEMINI_API_KEY")
30
+
31
  client = genai.Client(
32
+ api_key=google_API_key,
33
  http_options=genai.types.HttpOptions(api_version='v1alpha'),
34
  )
35
  print("Set default model")