Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -122,7 +122,7 @@ async def rollback_last(
|
|
122 |
# yield "", prompt, uis, str(res), gr.update(interactive=False), "off"
|
123 |
|
124 |
parameters = {
|
125 |
-
'model': 'models/
|
126 |
'candidate_count': 1,
|
127 |
'temperature': res_temp,
|
128 |
'top_k': res_topk,
|
@@ -179,7 +179,7 @@ async def chat_stream(
|
|
179 |
# yield "", prompt, uis, str(res), gr.update(interactive=False), "off"
|
180 |
|
181 |
parameters = {
|
182 |
-
'model': 'models/
|
183 |
'candidate_count': 1,
|
184 |
'temperature': res_temp,
|
185 |
'top_k': res_topk,
|
|
|
122 |
# yield "", prompt, uis, str(res), gr.update(interactive=False), "off"
|
123 |
|
124 |
parameters = {
|
125 |
+
'model': 'models/chat-bison-001',
|
126 |
'candidate_count': 1,
|
127 |
'temperature': res_temp,
|
128 |
'top_k': res_topk,
|
|
|
179 |
# yield "", prompt, uis, str(res), gr.update(interactive=False), "off"
|
180 |
|
181 |
parameters = {
|
182 |
+
'model': 'models/chat-bison-001',
|
183 |
'candidate_count': 1,
|
184 |
'temperature': res_temp,
|
185 |
'top_k': res_topk,
|