Spaces:
Runtime error
Runtime error
Oliver12315
commited on
Commit
•
77b7910
1
Parent(s):
4b30813
updated app.py
Browse files
app.py
CHANGED
@@ -14,10 +14,20 @@ if os.path.exists("assets/examples.txt"):
|
|
14 |
examples.append(sentence)
|
15 |
else:
|
16 |
examples = [
|
17 |
-
"
|
18 |
-
"
|
19 |
-
"
|
20 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
|
22 |
device = torch.device('cpu')
|
23 |
tokenizer = BertTokenizer.from_pretrained("Oliver12315/Brand_Tone_of_Voice")
|
|
|
14 |
examples.append(sentence)
|
15 |
else:
|
16 |
examples = [
|
17 |
+
"Ends tonight! Shop select certifiably comfortable shoes!",
|
18 |
+
"Just Do it!",
|
19 |
+
"Don't miss our products!",
|
20 |
+
"What are some of your favorite jokes? Let us know!",
|
21 |
+
"Is anyone being creative with their snow day?",
|
22 |
+
"Did you see our latest movie?",
|
23 |
+
"Hey beautiful people! What would you like to see us doing more (or less) of!",
|
24 |
+
"In fact, we discovered that Woollip works better than what we imagined.",
|
25 |
+
"It is made of Titanium Grade 5, a material famous for being very strong yet very light.",
|
26 |
+
"Each game already comes with six characters.",
|
27 |
+
"We thank you personally for the trust you are putting in us and our company.",
|
28 |
+
"I wear it everyday and am very happy with it!",
|
29 |
+
"We are so grateful for our everyday heroes who never cease to amaze us!"
|
30 |
+
]
|
31 |
|
32 |
device = torch.device('cpu')
|
33 |
tokenizer = BertTokenizer.from_pretrained("Oliver12315/Brand_Tone_of_Voice")
|