Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ from transformers import pipeline
|
|
6 |
toxic_model = pipeline("text-classification", model="Matt09Miao/GP5_tweet_toxic")
|
7 |
|
8 |
|
9 |
-
text2tweet = pipeline("
|
10 |
|
11 |
# text2audio
|
12 |
def text2audio(toxic_result):
|
|
|
6 |
toxic_model = pipeline("text-classification", model="Matt09Miao/GP5_tweet_toxic")
|
7 |
|
8 |
|
9 |
+
text2tweet = pipeline("text2text-generation", model="google/t5-v1_1-base")
|
10 |
|
11 |
# text2audio
|
12 |
def text2audio(toxic_result):
|