Isabel Gwara commited on
Commit
627b435
·
1 Parent(s): dc6a565

Update reader.py

Browse files
Files changed (1) hide show
  1. reader.py +1 -3
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
 
@@ -54,7 +53,6 @@ def get_article(acc, most_imp_feat):
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)
 
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
 
 
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)