Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,10 @@ st.set_page_config(
|
|
15 |
|
16 |
# Retrieve the Google API key from the environment
|
17 |
GOOGLE_API_KEY = os.getenv("GOOGLE_API_KEY")
|
18 |
-
|
|
|
|
|
|
|
19 |
|
20 |
# Check if the API key is loaded
|
21 |
if not GOOGLE_API_KEY:
|
|
|
15 |
|
16 |
# Retrieve the Google API key from the environment
|
17 |
GOOGLE_API_KEY = os.getenv("GOOGLE_API_KEY")
|
18 |
+
|
19 |
+
# If API key is not in the environment variable, hard-code it (though not recommended for production)
|
20 |
+
if not GOOGLE_API_KEY:
|
21 |
+
GOOGLE_API_KEY = 'AIzaSyDUHBTYHUVwYSykH5T5QYNifwWyadNv8d0'
|
22 |
|
23 |
# Check if the API key is loaded
|
24 |
if not GOOGLE_API_KEY:
|