Matt09Miao commited on
Commit
a5643e3
·
verified ·
1 Parent(s): 50c1ae1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -3,9 +3,8 @@ from transformers import pipeline
3
 
4
  # function part
5
  # Toxicity Analysis
6
- pipe = pipeline("text-classification", model="Matt09Miao/GP5_tweet_toxic")
7
- Toxic_model = pipe
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):