Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -171,7 +171,10 @@ async def chat_stream(
|
|
171 |
# search_prompt = tmp_prompt
|
172 |
# yield "", prompt, uis, str(res), gr.update(interactive=False), "off"
|
173 |
|
174 |
-
palm_if, response_txt = gen_text(
|
|
|
|
|
|
|
175 |
|
176 |
ppm = res[idx]
|
177 |
ppm.add_pingpong(
|
|
|
171 |
# search_prompt = tmp_prompt
|
172 |
# yield "", prompt, uis, str(res), gr.update(interactive=False), "off"
|
173 |
|
174 |
+
palm_if, response_txt = gen_text(
|
175 |
+
instruction_txtbox, palm_if,
|
176 |
+
global_context, res_temp, res_topk
|
177 |
+
)
|
178 |
|
179 |
ppm = res[idx]
|
180 |
ppm.add_pingpong(
|