Spaces:
Paused
Paused
update
Browse files87 unmodified lines888990919293941 unmodified line9697989910010110248 unmodified lines15115215315415515615715815916016116216316416516616716816917017117287 unmodified linescontinueif current_response:if '<think>' in current_response:current_response = current_response.replace('<think>', '<details><summary>Thinking</summary>\n\n```')if '</think>' in current_response:current_response = current_response.replace('</think>', '```\n\n</details>')if '**Final Answer**' in current_response:1 unmodified lineformatted_response = current_responseformatted_response = formatted_response.replace('<', '<').replace('>', '>')formatted_response = formatted_response.replace('<details>', '<details>')formatted_response = formatted_response.replace('</details>', '</details>')formatted_response = formatted_response.replace('<summary>', '<summary>')formatted_response = formatted_response.replace('</summary>', '</summary>')48 unmodified lines.prose p {margin-top: 1.5em !important;}.prose details {margin: 1em 0 !important;border: 1px solid #e5e7eb !important;border-radius: 6px !important;}.prose details summary {padding: 0.5em 1em !important;background: #f9fafb !important;cursor: pointer !important;border-radius: 6px 6px 0 0 !important;}.prose details summary:hover {background: #f3f4f6 !important;}.prose details[open] summary {border-bottom: 1px solid #e5e7eb !important;}""")87 unmodified lines888990919293941 unmodified line9697989910010110248 unmodified lines15115215315415515615715815916016116216316416516616787 unmodified linescontinueif current_response:if '<think>' in current_response:current_response = current_response.replace('<think>', '<details open><summary>Thinking</summary>\n\n```')if '</think>' in current_response:current_response = current_response.replace('</think>', '```\n\n</details>')if '**Final Answer**' in current_response:1 unmodified lineformatted_response = current_responseformatted_response = formatted_response.replace('<', '<').replace('>', '>')formatted_response = formatted_response.replace('<details open>', '<details open>')formatted_response = formatted_response.replace('</details>', '</details>')formatted_response = formatted_response.replace('<summary>', '<summary>')formatted_response = formatted_response.replace('</summary>', '</summary>')48 unmodified lines.prose p {margin-top: 1.5em !important;}.accordion {margin: 0 !important;border: none !important;}.accordion-header {background: #f0f0f0 !important;padding: 8px !important;cursor: pointer !important;}.accordion-content {padding: 8px !important;}""")
app.py+10-15