Spaces:
Build error
Build error
Update app.py
Browse files199 unmodified lines200201202203204205206199 unmodified lineshistory_state = gr.State([])last_message_state = gr.State("")def user_interaction(message, history, api_key, max_tokens, top_p, temperature):loading_message = history + [(message, "Loading...", "You", "P-ALPLE", sessions[api_key]["avatar"], ASSISTANT_PIC_PATH)]yield render_message(loading_message), loading_message, ""199 unmodified lines200201202203204205206199 unmodified lineshistory_state = gr.State([])last_message_state = gr.State("")def user_interaction(message, history, api_key, max_tokens, top_p, temperature):loading_message = history + [(message, "Loading...", "You", "P-ALPLE", sessions[api_key]["avatar"], ASSISTANT_PIC_PATH)]yield render_message(loading_message), loading_message, ""
app.py+1-1