Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
|
16 |
|
17 |
|
18 |
tokenizer = AutoTokenizer.from_pretrained("gpt2")
|
19 |
-
model = AutoModelWithLMHead.from_pretrained("BigSalmon/
|
20 |
|
21 |
g = """informal english: the vice president is not automatically entitled to the nomination, if they are unpopular.
|
22 |
Translated into the Style of Abraham Lincoln: should they be abhorred, the vice president is not above ( sparring with challengers for the nomination / brawling for the nomination / facing a spirited challenge for the nomination / braving a bout for the nomination ).
|
|
|
16 |
|
17 |
|
18 |
tokenizer = AutoTokenizer.from_pretrained("gpt2")
|
19 |
+
model = AutoModelWithLMHead.from_pretrained("BigSalmon/MrLincoln12")
|
20 |
|
21 |
g = """informal english: the vice president is not automatically entitled to the nomination, if they are unpopular.
|
22 |
Translated into the Style of Abraham Lincoln: should they be abhorred, the vice president is not above ( sparring with challengers for the nomination / brawling for the nomination / facing a spirited challenge for the nomination / braving a bout for the nomination ).
|