Spaces:
Runtime error
Runtime error
Update palmapi.py
Browse files- palmapi.py +1 -0
palmapi.py
CHANGED
@@ -84,6 +84,7 @@ async def gen_text(
|
|
84 |
parameters = {
|
85 |
'model': 'models/chat-bison-001',
|
86 |
'candidate_count': 1,
|
|
|
87 |
'temperature': temperature,
|
88 |
'top_k': top_k,
|
89 |
'top_p': top_p,
|
|
|
84 |
parameters = {
|
85 |
'model': 'models/chat-bison-001',
|
86 |
'candidate_count': 1,
|
87 |
+
'context': "",
|
88 |
'temperature': temperature,
|
89 |
'top_k': top_k,
|
90 |
'top_p': top_p,
|