Prafuld3 commited on
Commit
c7daa26
·
verified ·
1 Parent(s): 24252bd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ max_sequence_len = 40
8
 
9
  st.title("Next Word Prediction using LSTM")
10
  seed_text = st.text_input('Enter initial text to start generating next words', 'implementation of')
11
- next_words_count = st.slider('How many words to generate', 1, 8, 4)
12
  model = load_model('text_generator.h5')
13
 
14
  with open("tokenizer.pickle", "rb") as handle:
 
8
 
9
  st.title("Next Word Prediction using LSTM")
10
  seed_text = st.text_input('Enter initial text to start generating next words', 'implementation of')
11
+ next_words_count = st.slider('How many next words to generate', 1, 8, 4)
12
  model = load_model('text_generator.h5')
13
 
14
  with open("tokenizer.pickle", "rb") as handle: