Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
|
15 |
@st.cache(allow_output_mutation=True)
|
16 |
def get_model():
|
17 |
tokenizer = AutoTokenizer.from_pretrained("gpt2")
|
18 |
-
model = AutoModelWithLMHead.from_pretrained("BigSalmon/
|
19 |
model.to(device)
|
20 |
return model, tokenizer
|
21 |
|
|
|
15 |
@st.cache(allow_output_mutation=True)
|
16 |
def get_model():
|
17 |
tokenizer = AutoTokenizer.from_pretrained("gpt2")
|
18 |
+
model = AutoModelWithLMHead.from_pretrained("BigSalmon/MrLincoln13")
|
19 |
model.to(device)
|
20 |
return model, tokenizer
|
21 |
|