Ezi Ozoani commited on
Commit
e1f97c2
β€’
1 Parent(s): b2c7a50

parsing fixes

Browse files
1_πŸ“_form.py CHANGED
@@ -167,6 +167,12 @@ def main():
167
  "researcher_view":bool,
168
  "beginner_technical_view":bool,
169
  "markdown_state":"",
 
 
 
 
 
 
170
  })
171
  ## getting cache for each warnings
172
  languages_map, license_map, available_metrics, libraries, tasks = get_cached_data()
 
167
  "researcher_view":bool,
168
  "beginner_technical_view":bool,
169
  "markdown_state":"",
170
+
171
+ "testing_factor": "",
172
+ "testing_factor":"",
173
+ "testing_metrics":"",
174
+ "results":""
175
+
176
  })
177
  ## getting cache for each warnings
178
  languages_map, license_map, available_metrics, libraries, tasks = get_cached_data()
middleMan.py CHANGED
@@ -29,6 +29,7 @@ def parse_into_jinja_markdown():
29
  direct_use = st.session_state["Direct_Use"], downstream_use = st.session_state["Downstream_Use"],out_of_scope_use = st.session_state["Out-of-Scope_Use"],
30
  bias_risks_limitations = st.session_state["Model_Limits_n_Risks"], bias_recommendations = st.session_state['Recommendations'],
31
  model_examination = st.session_state['Model_examin'],
 
32
  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'],
33
  citation_bibtex= st.session_state["APA_citation"], citation_apa = st.session_state['bibtex_citation'],
34
  training_data = st.session_state['training_data'], preprocessing =st.session_state['preprocessing'], speeds_sizes_times = st.session_state['Speeds_Sizes_Times'],
@@ -40,7 +41,11 @@ def parse_into_jinja_markdown():
40
  get_started_code =st.session_state["Model_how_to"],
41
  repo_link = st.session_state["github_url"],
42
  paper_link = st.session_state["paper_url"],
43
- blog_link = st.session_state["blog_url"]
 
 
 
 
44
  ))
45
 
46
 
 
29
  direct_use = st.session_state["Direct_Use"], downstream_use = st.session_state["Downstream_Use"],out_of_scope_use = st.session_state["Out-of-Scope_Use"],
30
  bias_risks_limitations = st.session_state["Model_Limits_n_Risks"], bias_recommendations = st.session_state['Recommendations'],
31
  model_examination = st.session_state['Model_examin'],
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'],
 
41
  get_started_code =st.session_state["Model_how_to"],
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_factor = st.session_state["testing_factor"],
47
+ results = st.session_state["results"],
48
+ testing_metrics = st.session_state["testing_metrics"]
49
  ))
50
 
51
 
pages/5_πŸ‹οΈβ€β™€οΈ_Model_training.py CHANGED
@@ -78,7 +78,7 @@ def cs_body():
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_Timese"))
82
 
83
 
84
 
 
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
 
84