Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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:
|