Spaces:
Runtime error
Runtime error
Commit
·
b326cea
1
Parent(s):
4d84659
Update app.py
Browse files
app.py
CHANGED
@@ -108,5 +108,6 @@ def predict(comment=None) -> dict:
|
|
108 |
|
109 |
|
110 |
gr.Interface(fn=predict,
|
111 |
-
inputs=
|
|
|
112 |
outputs=gr.outputs.Label(num_top_classes=NUM_CLASSES)).launch()
|
|
|
108 |
|
109 |
|
110 |
gr.Interface(fn=predict,
|
111 |
+
inputs=gr.inputs.Textbox(lines=2, placeholder="Your Comment… "),
|
112 |
+
title="Toxic Comment Classification"
|
113 |
outputs=gr.outputs.Label(num_top_classes=NUM_CLASSES)).launch()
|