rknl commited on
Commit
6d4a991
·
verified ·
1 Parent(s): d7f368c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ import gradio as gr
3
  import google.generativeai as genai
4
 
5
  # Configure Gemini API
6
- GEMINI_API_KEY = "AIzaSyDooG1UD_7ae5lgl7HwfsVyGlwn2XycXko"
7
  genai.configure(api_key=GEMINI_API_KEY)
8
 
9
  # Create the model with the same configuration as the sample
 
3
  import google.generativeai as genai
4
 
5
  # Configure Gemini API
6
+ GEMINI_API_KEY = os.environ["GEMINI_API_KEY"]
7
  genai.configure(api_key=GEMINI_API_KEY)
8
 
9
  # Create the model with the same configuration as the sample