Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
import streamlit as st
|
|
|
|
|
2 |
from transformers import pipeline
|
3 |
|
4 |
-
|
5 |
-
# Toxicity Analysis
|
6 |
-
Toxic_model = pipeline("text-classification", model="Matt09Miao/GP5_tweet_toxic")
|
7 |
|
8 |
|
9 |
# text2story
|
|
|
1 |
import streamlit as st
|
2 |
+
|
3 |
+
# Use a pipeline as a high-level helper
|
4 |
from transformers import pipeline
|
5 |
|
6 |
+
toxic_model = pipeline("text-classification", model="Matt09Miao/GP5_tweet_toxic")
|
|
|
|
|
7 |
|
8 |
|
9 |
# text2story
|