Isabel Gwara commited on
Commit
448eee8
1 Parent(s): 00b453c

Update reader.py

Browse files
Files changed (1) hide show
  1. reader.py +5 -10
reader.py CHANGED
@@ -9,7 +9,7 @@ def get_article(acc, most_imp_feat):
9
  placeholder = "please create an info.txt to customize this text"
10
  note = "**Note that model accuracy and most important feature reflect assumptions made by the model about the world, and may be inaccurate. These can be helpful for understanding how the model works, but should not be considered absolute facts."
11
 
12
- title = bkgd = data_collection = priv_cons = bias_cons = ident_cons = img_src = membs = description = placeholder
13
  # check if info.txt is present
14
  if os.path.isfile(filename):
15
  # open info.txt in read mode
@@ -22,7 +22,6 @@ def get_article(acc, most_imp_feat):
22
  data_collection = info.readline()
23
  priv_cons = info.readline()
24
  bias_cons = info.readline()
25
- ident_cons = info.readline()
26
  img_src = info.readline()
27
  membs = info.readline()
28
 
@@ -50,11 +49,10 @@ def get_article(acc, most_imp_feat):
50
  line('h2', 'Data Collection Plan', klass='data')
51
  line('p', data_collection)
52
  with tag('div', klass='box'):
53
- line('h2', 'Ethical Considerations', klass='ethics')
54
  with tag('ul'):
55
  line('li', priv_cons)
56
  line('li', bias_cons)
57
- line('li', ident_cons)
58
  with tag('div', klass='box'):
59
  line('h2', 'Our Team', klass='team')
60
  line('p', membs)
@@ -97,17 +95,14 @@ def get_article(acc, most_imp_feat):
97
  .selected {
98
  background-color: #656bd6 !important;
99
  }
100
- .panel_header:hover {
101
- color: #656bd6 !important;
102
- }
103
- .input_radio:hover {
104
- color: #656bd6 !important;
105
- }
106
  .radio_item {
107
  border-radius: 10px;
108
  padding-left: 10px !important;
109
  padding-right: 10px !important;
110
  }
 
 
 
111
  .title {
112
  background-image: url(https://media.giphy.com/media/26BROrSHlmyzzHf3i/giphy.gif);
113
  background-size: cover;
 
9
  placeholder = "please create an info.txt to customize this text"
10
  note = "**Note that model accuracy and most important feature reflect assumptions made by the model about the world, and may be inaccurate. These can be helpful for understanding how the model works, but should not be considered absolute facts."
11
 
12
+ title = bkgd = data_collection = priv_cons = bias_cons = img_src = membs = description = placeholder
13
  # check if info.txt is present
14
  if os.path.isfile(filename):
15
  # open info.txt in read mode
 
22
  data_collection = info.readline()
23
  priv_cons = info.readline()
24
  bias_cons = info.readline()
 
25
  img_src = info.readline()
26
  membs = info.readline()
27
 
 
49
  line('h2', 'Data Collection Plan', klass='data')
50
  line('p', data_collection)
51
  with tag('div', klass='box'):
52
+ line('h2', 'Ethical Considerations (Data Privacy and Bias)', klass='ethics')
53
  with tag('ul'):
54
  line('li', priv_cons)
55
  line('li', bias_cons)
 
56
  with tag('div', klass='box'):
57
  line('h2', 'Our Team', klass='team')
58
  line('p', membs)
 
95
  .selected {
96
  background-color: #656bd6 !important;
97
  }
 
 
 
 
 
 
98
  .radio_item {
99
  border-radius: 10px;
100
  padding-left: 10px !important;
101
  padding-right: 10px !important;
102
  }
103
+ .radio_item:hover {
104
+ color: #656bd6 !important;
105
+ }
106
  .title {
107
  background-image: url(https://media.giphy.com/media/26BROrSHlmyzzHf3i/giphy.gif);
108
  background-size: cover;