Nechba commited on
Commit
5c1e4b6
·
verified ·
1 Parent(s): 114225b

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +3 -2
utils.py CHANGED
@@ -1,6 +1,7 @@
1
  import google.generativeai as genai
2
-
3
- genai.configure(api_key="AIzaSyBCfxmfkNLXCG2_t6s0I2K9ZOGec2pxXYE")
 
4
  def call_ai_api(prompt):
5
  # Set up the model
6
  generation_config = {
 
1
  import google.generativeai as genai
2
+ import os
3
+ os.getenv
4
+ genai.configure(api_key=os.getenv("gemini_token")
5
  def call_ai_api(prompt):
6
  # Set up the model
7
  generation_config = {