BigSalmon commited on
Commit
e5a39dc
·
1 Parent(s): f370c95

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -14,8 +14,9 @@ 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/InformalToFormalLincoln21")
18
- model = AutoModelWithLMHead.from_pretrained("BigSalmon/InformalToFormalLincoln21")
 
19
  return model, tokenizer
20
 
21
  model, tokenizer = get_model()
 
14
 
15
  @st.cache(allow_output_mutation=True)
16
  def get_model():
17
+ #model = AutoModelWithLMHead.from_pretrained("BigSalmon/InformalToFormalLincoln21")
18
+ tokenizer = AutoTokenizer.from_pretrained("BigSalmon/InformalToFormalLincoln31")
19
+ model = AutoModelWithLMHead.from_pretrained("BigSalmon/InformalToFormalLincoln31")
20
  return model, tokenizer
21
 
22
  model, tokenizer = get_model()