Spaces:
Build error
Build error
Update app.py
Browse files217 unmodified lines218219220221221222223224217 unmodified lines loading_message = history + [(message, "Loading...", "You", "P-ALPLE", sessions[api_key]["avatar"], ASSISTANT_PIC_PATH)] yield render_message(loading_message), loading_message, ""
partial_history = history partial_history = history for partial_reply in respond(message, api_key, max_tokens, top_p, temperature): partial_history = history + [(message, partial_reply, "You", "P-ALPLE", sessions[api_key]["avatar"], ASSISTANT_PIC_PATH)] yield render_message(partial_history), partial_history, ""app.py+1-1