Update app.py
Browse files
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 |
|