kyled commited on
Commit
a3c2573
1 Parent(s): 66a868b

forgot to change the variable name

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ if x != "":
22
  ordered_results = []
23
  for lbl in candidate_labels:
24
  ind = output['labels'].index(lbl)
25
- correct_order.append(output['scores'][ind])
26
 
27
  df = pd.DataFrame(dict(r=ordered_results, theta=candidate_labels))
28
  fig = px.line_polar(df, r='r', theta='theta', line_close=True)
 
22
  ordered_results = []
23
  for lbl in candidate_labels:
24
  ind = output['labels'].index(lbl)
25
+ ordered_results.append(output['scores'][ind])
26
 
27
  df = pd.DataFrame(dict(r=ordered_results, theta=candidate_labels))
28
  fig = px.line_polar(df, r='r', theta='theta', line_close=True)