Fixed typo in rewards
Browse files
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
|
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:
|