Rahatara commited on
Commit
8473368
·
verified ·
1 Parent(s): b41af6a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ import google.generativeai as genai
5
  import gradio as gr
6
 
7
  # Configure the Gemini API
8
- api_key = os.getenv("GEMINI_API_KEY")
9
  if not api_key:
10
  raise ValueError("GEMINI_API_KEY not found. Please set it in your environment variables.")
11
  genai.configure(api_key=api_key)
 
5
  import gradio as gr
6
 
7
  # Configure the Gemini API
8
+ api_key = os.getenv("GOOGLE_API_KEY")
9
  if not api_key:
10
  raise ValueError("GEMINI_API_KEY not found. Please set it in your environment variables.")
11
  genai.configure(api_key=api_key)