BigSalmon commited on
Commit
0addd1d
·
1 Parent(s): e7172c5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
15
 
16
  from transformers import AutoTokenizer, AutoModelWithLMHead
17
  tokenizer = AutoTokenizer.from_pretrained("gpt2")
18
- model = AutoModelWithLMHead.from_pretrained("BigSalmon/MrLincoln8")
19
 
20
  with st.form(key='my_form'):
21
  prompt = st.text_area(label='Enter sentence')
 
15
 
16
  from transformers import AutoTokenizer, AutoModelWithLMHead
17
  tokenizer = AutoTokenizer.from_pretrained("gpt2")
18
+ model = AutoModelWithLMHead.from_pretrained("BigSalmon/MrLincoln10")
19
 
20
  with st.form(key='my_form'):
21
  prompt = st.text_area(label='Enter sentence')