Spaces:
Runtime error
Runtime error
Commit
·
a054643
1
Parent(s):
8723db4
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ import google.generativeai as palm
|
|
13 |
|
14 |
# load model
|
15 |
# PaLM API Key here
|
16 |
-
palm.configure(api_key='
|
17 |
# Use the palm.list_models function to find available models
|
18 |
# PaLM 2 available in 4 sizes: Gecko, Otter, Bison and Unicorn (largest)
|
19 |
models = [m for m in palm.list_models() if 'generateText' in m.supported_generation_methods]
|
|
|
13 |
|
14 |
# load model
|
15 |
# PaLM API Key here
|
16 |
+
palm.configure(api_key='AIzaSyCNLewREg48CdQXjSxEjAUxGYpjCPCaYKk')
|
17 |
# Use the palm.list_models function to find available models
|
18 |
# PaLM 2 available in 4 sizes: Gecko, Otter, Bison and Unicorn (largest)
|
19 |
models = [m for m in palm.list_models() if 'generateText' in m.supported_generation_methods]
|