chameleon-lizard
commited on
Commit
•
052aeac
1
Parent(s):
8b70b11
Update README.md
Browse files
README.md
CHANGED
@@ -50,7 +50,7 @@ pipe = transformers.pipeline(
|
|
50 |
|
51 |
language = 'English'
|
52 |
text = "You are a major fucking disappointment."
|
53 |
-
print(pipe('
|
54 |
# Resulting text: "You are a major disappointment.""
|
55 |
```
|
56 |
|
|
|
50 |
|
51 |
language = 'English'
|
52 |
text = "You are a major fucking disappointment."
|
53 |
+
print(pipe('Write a non-toxic version of the following text in {language}: {text}')[0]['generated_text'])
|
54 |
# Resulting text: "You are a major disappointment.""
|
55 |
```
|
56 |
|