bankholdup commited on
Commit
3ebacbb
1 Parent(s): 1427040

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -7,7 +7,8 @@ from transformers import GPT2Tokenizer, GPT2LMHeadModel
7
 
8
  @st.cache(allow_output_mutation=True)
9
  def load_model():
10
- model_ckpt = "bankholdup/rugpt3_song_writer"
 
11
  tokenizer = GPT2Tokenizer.from_pretrained(model_ckpt)
12
  model = GPT2LMHeadModel.from_pretrained(model_ckpt)
13
  return tokenizer, model
 
7
 
8
  @st.cache(allow_output_mutation=True)
9
  def load_model():
10
+ # model_ckpt = "bankholdup/rugpt3_song_writer"
11
+ model_ckpt = "bankholdup/mgpt_song_write"
12
  tokenizer = GPT2Tokenizer.from_pretrained(model_ckpt)
13
  model = GPT2LMHeadModel.from_pretrained(model_ckpt)
14
  return tokenizer, model