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