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 |
|
16 |
from transformers import AutoTokenizer, AutoModelWithLMHead
|
17 |
tokenizer = AutoTokenizer.from_pretrained("gpt2")
|
18 |
-
model = AutoModelWithLMHead.from_pretrained("BigSalmon/
|
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')
|