Streamlit is a Web Framework which is build for Data Scientist to readily convert their projects/analysis into a web application.
To install streamlit run the following command at the prompt, after cloning this repo.
$ sudo pip3 install -r requirements.txt
$ streamlit run app.py
# The well known alias
import streamlit as st
# c is the altair chart object
st.altair_chart(c, use_container_width=True)
# chart_data is a pd.DataFrame object
st.area_chart(chart_data)
# audio_bytes is a BytesIO object
st.audio(audio_bytes, format='audio/ogg')
# data is a pd.DataFrame object
show_data = st.checkbox('Show Raw Data')
if show_data:
st.write(data)
option = st.selectbox('Which Language do you know?', ('C', 'Python', 'Java'))
st.write('You Know:', option)
# To display text in it
st.text("This is simply a text")
# Render latex code on the dashboard
st.latex(r'''
E = MC^2
''')
# Display markdown code
st.markdown("I have rendered **markdown code** in this")