Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -3,9 +3,8 @@ from transformers import pipeline
|
|
3 |
|
4 |
# function part
|
5 |
# Toxicity Analysis
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
|
10 |
# text2story
|
11 |
def text2story(text):
|
|
|
3 |
|
4 |
# function part
|
5 |
# Toxicity Analysis
|
6 |
+
Toxic_model = pipeline("text-classification", model="Matt09Miao/GP5_tweet_toxic")
|
7 |
+
|
|
|
8 |
|
9 |
# text2story
|
10 |
def text2story(text):
|