Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
|
|
| 1 |
from google import genai
|
| 2 |
from google.colab import userdata
|
| 3 |
from google.genai import types
|
|
@@ -5,7 +6,7 @@ import gradio as gr
|
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
-
client = genai.Client(api_key=
|
| 9 |
|
| 10 |
personalities = {
|
| 11 |
"Friendly":
|
|
|
|
| 1 |
+
import os
|
| 2 |
from google import genai
|
| 3 |
from google.colab import userdata
|
| 4 |
from google.genai import types
|
|
|
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
+
client = genai.Client(api_key=os.getenv("GOOGLE_API_KEY"))
|
| 10 |
|
| 11 |
personalities = {
|
| 12 |
"Friendly":
|