Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -106,7 +106,7 @@ def run(bucket_folder, person_name, req_id, gender='male'):
|
|
| 106 |
|
| 107 |
#--------------Google Gemini---------------#
|
| 108 |
|
| 109 |
-
client = genai.Client(api_key='
|
| 110 |
|
| 111 |
image = Image.open(id_image)
|
| 112 |
|
|
|
|
| 106 |
|
| 107 |
#--------------Google Gemini---------------#
|
| 108 |
|
| 109 |
+
client = genai.Client(api_key=os.getenv('GEMINI_SECRET_KEY'))
|
| 110 |
|
| 111 |
image = Image.open(id_image)
|
| 112 |
|