Spaces:
Runtime error
Runtime error
Commit
·
1501319
1
Parent(s):
ac68060
Update app.py
Browse files
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
|
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(
|