Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ import gradio as gr
|
|
| 4 |
from PIL import Image
|
| 5 |
|
| 6 |
# Configure the API
|
| 7 |
-
genai.configure(api_key=os.environ["
|
| 8 |
|
| 9 |
# Create the model
|
| 10 |
generation_config = {
|
|
|
|
| 4 |
from PIL import Image
|
| 5 |
|
| 6 |
# Configure the API
|
| 7 |
+
genai.configure(api_key=os.environ["API_KEY"])
|
| 8 |
|
| 9 |
# Create the model
|
| 10 |
generation_config = {
|