codelion commited on
Commit
e730056
·
verified ·
1 Parent(s): d9f8524

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ import base64
7
  import os
8
 
9
  # Initialize the Google Generative AI client with the API key from environment variables
10
- client = genai.Client(api_key='GEMINI_API_KEY')
11
 
12
  def generate_item(tag):
13
  """
 
7
  import os
8
 
9
  # Initialize the Google Generative AI client with the API key from environment variables
10
+ client = genai.Client(api_key=os.environ['GEMINI_API_KEY'])
11
 
12
  def generate_item(tag):
13
  """