Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -64,7 +64,7 @@ HTML = """
|
|
| 64 |
"""
|
| 65 |
|
| 66 |
def generate_from_gemini(prompt: str) -> str:
|
| 67 |
-
client = genai.Client("AIzaSyDolbPUZBPUPvQUu-RGktJmvnUpkcEKIYo")
|
| 68 |
model = "gemini-2.0-flash"
|
| 69 |
contents = [
|
| 70 |
types.Content(
|
|
|
|
| 64 |
"""
|
| 65 |
|
| 66 |
def generate_from_gemini(prompt: str) -> str:
|
| 67 |
+
client = genai.Client(apikey="AIzaSyDolbPUZBPUPvQUu-RGktJmvnUpkcEKIYo")
|
| 68 |
model = "gemini-2.0-flash"
|
| 69 |
contents = [
|
| 70 |
types.Content(
|