Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@ import os
|
|
| 2 |
import gradio as gr
|
| 3 |
import google.generativeai as genai
|
| 4 |
|
| 5 |
-
GOOGLE_API_KEY = os.environ.get("
|
| 6 |
|
| 7 |
if not GOOGLE_API_KEY:
|
| 8 |
raise RuntimeError("GOOGLE_API_KEY not found. Please set it in Hugging Face Secrets.")
|
|
|
|
| 2 |
import gradio as gr
|
| 3 |
import google.generativeai as genai
|
| 4 |
|
| 5 |
+
GOOGLE_API_KEY = os.environ.get("GOOGLE_API_KEY")
|
| 6 |
|
| 7 |
if not GOOGLE_API_KEY:
|
| 8 |
raise RuntimeError("GOOGLE_API_KEY not found. Please set it in Hugging Face Secrets.")
|