Ezi Ozoani commited on
Commit
a734906
β€’
1 Parent(s): 0cf3161

remove repeat varible

Browse files
1_πŸ“_form.py CHANGED
@@ -126,8 +126,8 @@ def main():
126
  "Model_Limits_n_Risks": "",
127
  "Recommendations":"",
128
 
129
- "training_data": "",
130
- "preprocessing":"",
131
  "Speeds_Sizes_Times":"",
132
 
133
 
 
126
  "Model_Limits_n_Risks": "",
127
  "Recommendations":"",
128
 
129
+ "training_Data": "",
130
+ "model_preprocessing":"",
131
  "Speeds_Sizes_Times":"",
132
 
133
 
__pycache__/middleMan.cpython-39.pyc CHANGED
Binary files a/__pycache__/middleMan.cpython-39.pyc and b/__pycache__/middleMan.cpython-39.pyc differ
 
middleMan.py CHANGED
@@ -32,7 +32,7 @@ def parse_into_jinja_markdown():
32
  speeds_sizes_times = st.session_state['Speeds_Sizes_Times'],
33
  hardware= st.session_state['Model_hardware'], hours_used = st.session_state['hours_used'], cloud_provider = st.session_state['Model_cloud_provider'], cloud_region = st.session_state['Model_cloud_region'], co2_emitted = st.session_state['Model_c02_emitted'],
34
  citation_bibtex= st.session_state["APA_citation"], citation_apa = st.session_state['bibtex_citation'],
35
- training_data = st.session_state['training_data'], preprocessing =st.session_state['preprocessing'], speeds_sizes_times = st.session_state['Speeds_Sizes_Times'],
36
  model_specs = st.session_state['Model_specs'], compute_infrastructure = st.session_state['compute_infrastructure'],software = st.session_state['technical_specs_software'],
37
  glossary = st.session_state['Glossary'],
38
  more_information = st.session_state['More_info'],
@@ -42,10 +42,10 @@ def parse_into_jinja_markdown():
42
  repo_link = st.session_state["github_url"],
43
  paper_link = st.session_state["paper_url"],
44
  blog_link = st.session_state["blog_url"],
45
- testing_data = st.session_state["testing_data"],
46
- testing_factors = st.session_state["testing_Factor"],
47
- results = st.session_state["model_results"],
48
- testing_metrics = st.session_state["testing_Metrics"]
49
  ))
50
 
51
 
 
32
  speeds_sizes_times = st.session_state['Speeds_Sizes_Times'],
33
  hardware= st.session_state['Model_hardware'], hours_used = st.session_state['hours_used'], cloud_provider = st.session_state['Model_cloud_provider'], cloud_region = st.session_state['Model_cloud_region'], co2_emitted = st.session_state['Model_c02_emitted'],
34
  citation_bibtex= st.session_state["APA_citation"], citation_apa = st.session_state['bibtex_citation'],
35
+ training_data = st.session_state['training_Data'], preprocessing =st.session_state['model_preprocessing'],
36
  model_specs = st.session_state['Model_specs'], compute_infrastructure = st.session_state['compute_infrastructure'],software = st.session_state['technical_specs_software'],
37
  glossary = st.session_state['Glossary'],
38
  more_information = st.session_state['More_info'],
 
42
  repo_link = st.session_state["github_url"],
43
  paper_link = st.session_state["paper_url"],
44
  blog_link = st.session_state["blog_url"],
45
+ testing_data = st.session_state["Testing_Data"],
46
+ testing_factors = st.session_state["Factors"],
47
+ results = st.session_state['Model_Results'],
48
+ testing_metrics = st.session_state["Metrics"]
49
  ))
50
 
51
 
pages/5_πŸ‹οΈβ€β™€οΈ_Model_training.py CHANGED
@@ -63,7 +63,7 @@ def cs_body():
63
  with right:
64
  #soutput_jinja = parse_into_jinja_markdown()
65
 
66
- st.text_area("", key=persist("training_data"))
67
  #st.write("\n")
68
  st.write("\n")
69
  st.write("\n")
@@ -77,7 +77,7 @@ def cs_body():
77
  st.write("\n")
78
  st.write("\n")
79
 
80
- st.text_area("", key=persist("preprocessing"))
81
  st.text_area("", help = "This section provides information about throughput, start/end time, checkpoint size if relevant, etc.", key=persist("Speeds_Sizes_Times"))
82
 
83
 
 
63
  with right:
64
  #soutput_jinja = parse_into_jinja_markdown()
65
 
66
+ st.text_area("", key=persist("training_Data"))
67
  #st.write("\n")
68
  st.write("\n")
69
  st.write("\n")
 
77
  st.write("\n")
78
  st.write("\n")
79
 
80
+ st.text_area("", key=persist("model_preprocessing"))
81
  st.text_area("", help = "This section provides information about throughput, start/end time, checkpoint size if relevant, etc.", key=persist("Speeds_Sizes_Times"))
82
 
83