Spaces:
Sleeping
Sleeping
Fix: Python Version Changes:
Browse files
README.md
CHANGED
@@ -5,7 +5,9 @@ colorTo: blue
|
|
5 |
sdk: gradio
|
6 |
app_file: app.py
|
7 |
pinned: false
|
|
|
8 |
---
|
|
|
9 |
# Agression and Misogyny Detection App
|
10 |
<!-- Intro and about the project -->
|
11 |
This app detects presence of Aggression and Misogyny in online social media texts. Try it out [here](https://huggingface.co/spaces/sdutta28/AggDetectApp)
|
|
|
5 |
sdk: gradio
|
6 |
app_file: app.py
|
7 |
pinned: false
|
8 |
+
python_version: 3.7.0
|
9 |
---
|
10 |
+
|
11 |
# Agression and Misogyny Detection App
|
12 |
<!-- Intro and about the project -->
|
13 |
This app detects presence of Aggression and Misogyny in online social media texts. Try it out [here](https://huggingface.co/spaces/sdutta28/AggDetectApp)
|
app.py
CHANGED
@@ -18,8 +18,8 @@ if __name__ == "__main__":
|
|
18 |
label="Text to Predict",
|
19 |
),
|
20 |
outputs=[
|
21 |
-
gradio.outputs.Textbox(type="
|
22 |
-
gradio.outputs.Textbox(type="
|
23 |
],
|
24 |
title="Aggression and Misogyny Predictor",
|
25 |
theme="dark-huggingface",
|
|
|
18 |
label="Text to Predict",
|
19 |
),
|
20 |
outputs=[
|
21 |
+
gradio.outputs.Textbox(type="text", label="Aggression Prediction"),
|
22 |
+
gradio.outputs.Textbox(type="text", label="Misogyny Prediction"),
|
23 |
],
|
24 |
title="Aggression and Misogyny Predictor",
|
25 |
theme="dark-huggingface",
|