File size: 892 Bytes
576a1ce |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
# import streamlit as st
# import os
# from views.dashboard_view import DashboardView
# from views.sidebar import Sidebar
# st.set_page_config(
# page_title="Rocks segmentation",
# page_icon="🪨",
# layout="wide",
# initial_sidebar_state="expanded",
# )
# def main():
# sidebar = Sidebar()
# sidebar.choose_folder_view(st.sidebar)
# sidebar.file_selector_view(st.sidebar)
# dashboard = DashboardView()
# uploaded_file = dashboard.main_view(st)
# st.divider()
# dashboard.display_psd_chart(st.expander("PSD chart"))
# st.divider()
# dashboard.load_data_from_folder(st)
# st.divider()
# # show PDF generated reports
# dashboard.load_reports_from_folder(st)
# if __name__ == "__main__":
# main()
import streamlit as st
x = st.slider('Select a value')
st.write(x, 'squared is', x * x)
|