sergeyfeldman commited on
Commit
1501319
·
1 Parent(s): ac68060

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -26,7 +26,7 @@ def predict(text):
26
  harm = sorted(harm)[::-1][:1]
27
  # top is the combo of these
28
  top = issues + feelings + harm
29
- d = {i: j for i, j in harm}
30
  return d
31
 
32
  iface = gr.Interface(
 
26
  harm = sorted(harm)[::-1][:1]
27
  # top is the combo of these
28
  top = issues + feelings + harm
29
+ d = {i: j for i, j in top}
30
  return d
31
 
32
  iface = gr.Interface(