codelion commited on
Commit
926e0eb
·
verified ·
1 Parent(s): 918e905

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -18,6 +18,7 @@ logging.basicConfig(level=logging.DEBUG, format='%(asctime)s - %(levelname)s - %
18
  try:
19
  api_key = os.environ['GEMINI_API_KEY']
20
  except KeyError:
 
21
  raise ValueError("Please set the GEMINI_API_KEY environment variable.")
22
  client = genai.Client(api_key=api_key)
23
 
 
18
  try:
19
  api_key = os.environ['GEMINI_API_KEY']
20
  except KeyError:
21
+ print("Duplicate the space and set your own GEMINI_API_KEY to run.")
22
  raise ValueError("Please set the GEMINI_API_KEY environment variable.")
23
  client = genai.Client(api_key=api_key)
24