Anupam007 commited on
Commit
e059729
·
verified ·
1 Parent(s): af477d2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ import toml # Import the toml library
8
  # Load secrets from secrets.toml
9
  try:
10
  secrets = toml.load("secrets.toml")
11
- GEMINI_API_KEY = secrets["GEMINI_API_KEY"]
12
  except FileNotFoundError:
13
  print("Error: secrets.toml not found. Make sure it exists in the same directory.")
14
  GEMINI_API_KEY = None # Or some default value
 
8
  # Load secrets from secrets.toml
9
  try:
10
  secrets = toml.load("secrets.toml")
11
+ GEMINI_API_KEY = secrets["AIzaSyC_MFgpk5t3woYooMIPkIA5-Kzaon13-m0"]
12
  except FileNotFoundError:
13
  print("Error: secrets.toml not found. Make sure it exists in the same directory.")
14
  GEMINI_API_KEY = None # Or some default value