Spaces:
Sleeping
Sleeping
Modified Input and Output boxes
Browse files
app.py
CHANGED
@@ -12,11 +12,16 @@ if __name__ == "__main__":
|
|
12 |
default="",
|
13 |
label="Text to Predict",
|
14 |
),
|
15 |
-
outputs=[
|
|
|
|
|
|
|
16 |
title="Aggression and Misogyny Predictor",
|
17 |
theme="dark-huggingface",
|
18 |
live=True,
|
19 |
)
|
|
|
|
|
20 |
interface.launch(
|
21 |
share=False,
|
22 |
debug=True,
|
|
|
12 |
default="",
|
13 |
label="Text to Predict",
|
14 |
),
|
15 |
+
outputs=[
|
16 |
+
gradio.outputs.Textbox(type="auto", label="Aggression Prediction"),
|
17 |
+
gradio.outputs.Textbox(type="auto", label="Misogyny Prediction"),
|
18 |
+
],
|
19 |
title="Aggression and Misogyny Predictor",
|
20 |
theme="dark-huggingface",
|
21 |
live=True,
|
22 |
)
|
23 |
+
|
24 |
+
# Launch the interface
|
25 |
interface.launch(
|
26 |
share=False,
|
27 |
debug=True,
|