Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -137,7 +137,7 @@ async def rollback_last(
|
|
137 |
ppm = res[idx]
|
138 |
ppm.replace_last_pong(response_txt)
|
139 |
|
140 |
-
return "",
|
141 |
|
142 |
def reset_chat(idx, ld, state, palm_if):
|
143 |
res = [state["ppmanager_type"].from_json(json.dumps(ppm_str)) for ppm_str in ld]
|
|
|
137 |
ppm = res[idx]
|
138 |
ppm.replace_last_pong(response_txt)
|
139 |
|
140 |
+
return "", ppm.build_uis(), str(res), gr.update(interactive=True), "off"
|
141 |
|
142 |
def reset_chat(idx, ld, state, palm_if):
|
143 |
res = [state["ppmanager_type"].from_json(json.dumps(ppm_str)) for ppm_str in ld]
|