mikoba commited on
Commit
576a1ce
·
1 Parent(s): e7539e5

create main push 1

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