Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
import google.generativeai as palm
|
3 |
import os
|
4 |
|
5 |
-
api_key = os.environ
|
6 |
|
7 |
palm.configure(api_key=api_key)
|
8 |
|
|
|
2 |
import google.generativeai as palm
|
3 |
import os
|
4 |
|
5 |
+
api_key = os.environ["api_key"]
|
6 |
|
7 |
palm.configure(api_key=api_key)
|
8 |
|