Spaces:
Runtime error
Runtime error
dariolopez
commited on
Commit
·
fe1a643
1
Parent(s):
1190945
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ def detect_suicide_comment(input):
|
|
15 |
iface = gr.Interface(
|
16 |
fn=detect_suicide_comment,
|
17 |
inputs="text",
|
18 |
-
outputs=gr.Label(num_top_classes=1, type="confidences"),
|
19 |
allow_flagging="manual",
|
20 |
flagging_options=['Correct Classification', 'Incorrect Classification'],
|
21 |
flagging_callback=hf_writer,
|
|
|
15 |
iface = gr.Interface(
|
16 |
fn=detect_suicide_comment,
|
17 |
inputs="text",
|
18 |
+
outputs="text", # gr.Label(num_top_classes=1, type="confidences"),
|
19 |
allow_flagging="manual",
|
20 |
flagging_options=['Correct Classification', 'Incorrect Classification'],
|
21 |
flagging_callback=hf_writer,
|