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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -7,8 +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
- model_ckpt = "bankholdup/mgpt_song_write"
12
  tokenizer = GPT2Tokenizer.from_pretrained(model_ckpt)
13
  model = GPT2LMHeadModel.from_pretrained(model_ckpt)
14
  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