yash161101 commited on
Commit
2b98694
1 Parent(s): 8c18c6a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -25,8 +25,8 @@ if st.button('Submit'):
25
  #get transformers
26
  from transformers import TFGPT2LMHeadModel, GPT2Tokenizer
27
 
28
- tokenizer = GPT2Tokenizer.from_pretrained("gpt2-large")
29
- GPT2 = TFGPT2LMHeadModel.from_pretrained("gpt2-large", pad_token_id=tokenizer.eos_token_id)
30
 
31
  import tensorflow as tf
32
  tf.random.set_seed(SEED)
 
25
  #get transformers
26
  from transformers import TFGPT2LMHeadModel, GPT2Tokenizer
27
 
28
+ tokenizer = GPT2Tokenizer.from_pretrained("ml6team/gpt-2-small-conditional-quote-generator")
29
+ GPT2 = TFGPT2LMHeadModel.from_pretrained("ml6team/gpt-2-small-conditional-quote-generator", pad_token_id=tokenizer.eos_token_id)
30
 
31
  import tensorflow as tf
32
  tf.random.set_seed(SEED)