yash161101 commited on
Commit
e462c83
1 Parent(s): 3c57a75

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("ml6team/gpt-2-medium-conditional-quote-generator")
18
- model = AutoModelForCausalLM.from_pretrained("ml6team/gpt-2-medium-conditional-quote-generator")
19
  return model, tokenizer
20
 
21
 
 
14
 
15
  @st.cache(allow_output_mutation=True)
16
  def get_model():
17
+ tokenizer = AutoModelForCausalLM.from_pretrained("ismaelfaro/gpt2-poems.en")
18
+ model = AutoModelForCausalLM.from_pretrained("ismaelfaro/gpt2-poems.en")
19
  return model, tokenizer
20
 
21