Spaces:
Sleeping
Sleeping
Commit ·
bb3e3ae
1
Parent(s): bac1424
Improved UI
Browse files192 unmodified lines193194195196196197198199200201202202203204204205206207192 unmodified lines if chunk.token.text!='</s>' : full_response += chunk.token.text
placeholder.markdown(full_response + " |") placeholder.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>' : if chunk.token.text!='</s>' : full_response += chunk.token.text placeholder.markdown(full_response + " |") placeholder.markdown(full_response + "▌") placeholder.markdown(full_response)
app.py+3-3