Create .streamlit/secrets.toml
Browse files- .streamlit/secrets.toml +7 -0
.streamlit/secrets.toml
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# .streamlit/secrets.toml
|
2 |
+
|
3 |
+
GEMINI_API_KEY = "YOUR_ACTUAL_GEMINI_API_KEY_HERE"
|
4 |
+
|
5 |
+
# IMPORTANT: This model ID must be the one that works with your specific
|
6 |
+
# google-generativeai SDK setup and the client.models.generate_content pattern.
|
7 |
+
GEMINI_IMAGE_MODEL_ID = "gemini-2.0-flash-preview-image-generation"
|