sohamsh commited on
Commit
ca871e9
1 Parent(s): 550aa14

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ with st.form(key='my_form'):
25
  c = st.number_input('Enter Number of words: ', 1)
26
  submit_button = st.form_submit_button(label='Submit')
27
  if submit_button:
28
- tf.random.set_seed(SEED)
29
  input_ids = tokenizer.encode(prompt, return_tensors='tf')
30
 
31
  sample_output = GPT2.generate(
 
25
  c = st.number_input('Enter Number of words: ', 1)
26
  submit_button = st.form_submit_button(label='Submit')
27
  if submit_button:
28
+ tf.random.set_seed(12)
29
  input_ids = tokenizer.encode(prompt, return_tensors='tf')
30
 
31
  sample_output = GPT2.generate(