Wendgan commited on
Commit
b443b19
·
verified ·
1 Parent(s): b846f85

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import os
2
  import gradio as gr
3
  import google.generativeai as genai
4
 
5
- GOOGLE_API_KEY = os.environ.get("AIzaSyDSCQ1RkrsQr4tSES7KlR1uq2O31yPRSHY")
6
 
7
  if not GOOGLE_API_KEY:
8
  raise RuntimeError("GOOGLE_API_KEY not found. Please set it in Hugging Face Secrets.")
 
2
  import gradio as gr
3
  import google.generativeai as genai
4
 
5
+ GOOGLE_API_KEY = os.environ.get("GOOGLE_API_KEY")
6
 
7
  if not GOOGLE_API_KEY:
8
  raise RuntimeError("GOOGLE_API_KEY not found. Please set it in Hugging Face Secrets.")