BigSalmon commited on
Commit
998624c
·
1 Parent(s): 53b7c2a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -14,8 +14,8 @@ device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
14
 
15
  @st.cache(allow_output_mutation=True)
16
  def get_model():
17
- tokenizer = AutoTokenizer.from_pretrained("BigSalmon/InformalToFormalLincoln20")
18
- model = AutoModelWithLMHead.from_pretrained("BigSalmon/InformalToFormalLincoln20")
19
  model.to(device)
20
  return model, tokenizer
21
 
 
14
 
15
  @st.cache(allow_output_mutation=True)
16
  def get_model():
17
+ tokenizer = AutoTokenizer.from_pretrained("BigSalmon/InformalToFormalLincoln21")
18
+ model = AutoModelWithLMHead.from_pretrained("BigSalmon/InformalToFormalLincoln21")
19
  model.to(device)
20
  return model, tokenizer
21