Spaces:
Runtime error
Runtime error
Antoine245
commited on
Commit
·
b033a49
1
Parent(s):
83db21c
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import os
|
|
3 |
import time
|
4 |
import google.generativeai as palm
|
5 |
|
6 |
-
palm.configure(api_key=
|
7 |
|
8 |
defaults = {
|
9 |
'model': 'models/chat-bison-001',
|
|
|
3 |
import time
|
4 |
import google.generativeai as palm
|
5 |
|
6 |
+
palm.configure(api_key=os.environ.get("palm_key"))
|
7 |
|
8 |
defaults = {
|
9 |
'model': 'models/chat-bison-001',
|