Spaces:
Runtime error
Runtime error
Commit
·
9ebd672
1
Parent(s):
9c3f46e
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,8 +8,8 @@ import os
|
|
| 8 |
# Assuming google.generativeai as genai is the correct import based on your description
|
| 9 |
import google.generativeai as genai
|
| 10 |
|
| 11 |
-
|
| 12 |
-
api_key =
|
| 13 |
genai.configure(api_key=api_key)
|
| 14 |
|
| 15 |
generation_config = genai.GenerationConfig(
|
|
|
|
| 8 |
# Assuming google.generativeai as genai is the correct import based on your description
|
| 9 |
import google.generativeai as genai
|
| 10 |
|
| 11 |
+
Configure the API key (should be set as an environment variable or secure storage in production)
|
| 12 |
+
api_key = "AIzaSyC70u1sN87IkoxOoIj4XCAPw97ae2LZwNM" # Replace with your actual API key
|
| 13 |
genai.configure(api_key=api_key)
|
| 14 |
|
| 15 |
generation_config = genai.GenerationConfig(
|