Spaces:
Runtime error
Runtime error
Commit ·
bb3e3ae
1
Parent(s): bac1424
Improved UI
Browse files192 unmodified lines193194195196197198199200201202203204205206207192 unmodified linesif chunk.token.text!='</s>' :full_response += chunk.token.textplaceholder.markdown(full_response + " |")placeholder.markdown(full_response)st.info( f"""\n\nFetched from :\n {formatted_links}""")else :for chunk in chat_stream :if chunk.token['text']!='</s>' :full_response += chunk.token.textplaceholder.markdown(full_response + " |")placeholder.markdown(full_response)192 unmodified lines193194195196197198199200201202203204205206207192 unmodified linesif chunk.token.text!='</s>' :full_response += chunk.token.textplaceholder.markdown(full_response + "▌")placeholder.markdown(full_response)st.info( f"""\n\nFetched from :\n {formatted_links}""")else :for chunk in chat_stream :if chunk.token.text!='</s>' :full_response += chunk.token.textplaceholder.markdown(full_response + "▌")placeholder.markdown(full_response)
app.py+3-3