Margerie commited on
Commit
b371cb8
Β·
verified Β·
1 Parent(s): 35bb03a

Delete pages/12_πŸ‘©β€πŸ’»_How_To_Get_Started.py

Browse files
pages/12_πŸ‘©β€πŸ’»_How_To_Get_Started.py DELETED
@@ -1,30 +0,0 @@
1
- import streamlit as st
2
- from persist import persist, load_widget_state
3
-
4
- from extract_code import read_file
5
-
6
-
7
-
8
- global variable_output
9
-
10
- def main():
11
-
12
- cs_body()
13
-
14
- def cs_body():
15
-
16
- library_name = st.session_state.library_name
17
- model_name = st.session_state.model_name
18
- model_name_to_str = f"{model_name}"
19
- library_name_to_str = f"{library_name}"
20
- text_pass = read_file(library_name_to_str, model_name_to_str) ## get the how to get started code
21
-
22
- st.markdown('# How to Get Started with the Model')
23
- st.session_state['Model_how_to'] = text_pass
24
- st.text_area("Code snippet to show how to use the model.",height = 300, key=persist("Model_how_to"))
25
-
26
-
27
-
28
- if __name__ == '__main__':
29
- load_widget_state()
30
- main()