bankholdup commited on
Commit
10b378c
1 Parent(s): 3e8e7bc

Update app.py

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