nlamot commited on
Commit
b236f11
1 Parent(s): 012b510

Fixed typo in rewards

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -168,10 +168,10 @@ def parse_rewards(accuracy):
168
  if accuracy != None:
169
  accuracy = str(accuracy)
170
  parsed = accuracy.split('+/-')
171
- if len(parsed)>1):
172
  mean_reward = float(parsed[0].strip())
173
  std_reward = float(parsed[1].strip())
174
- elif len(parsed)==1): #only mean reward
175
  mean_reward = float(parsed[0].strip())
176
  std_reward = float(0)
177
  else:
 
168
  if accuracy != None:
169
  accuracy = str(accuracy)
170
  parsed = accuracy.split('+/-')
171
+ if len(parsed)>1:
172
  mean_reward = float(parsed[0].strip())
173
  std_reward = float(parsed[1].strip())
174
+ elif len(parsed)==1: #only mean reward
175
  mean_reward = float(parsed[0].strip())
176
  std_reward = float(0)
177
  else: