Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,8 +2,8 @@ import gradio as gr
|
|
| 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 |
|
| 9 |
defaults = {
|
|
|
|
| 2 |
import google.generativeai as palm
|
| 3 |
import os
|
| 4 |
|
| 5 |
+
# Get your own API key on https://developers.generativeai.google/products/palm
|
| 6 |
api_key = os.environ["api_key"]
|
|
|
|
| 7 |
palm.configure(api_key=api_key)
|
| 8 |
|
| 9 |
defaults = {
|