Spaces:
Running
Running
Update pages/17_RNN.py
Browse files- pages/17_RNN.py +2 -2
pages/17_RNN.py
CHANGED
@@ -11,8 +11,8 @@ The RNN learns the sequence of characters from a provided text and generates tex
|
|
11 |
You can choose different options for training the RNN and see how it affects the generated text.
|
12 |
""")
|
13 |
|
14 |
-
#
|
15 |
-
sequence =
|
16 |
chars = list(set(sequence))
|
17 |
data_size, vocab_size = len(sequence), len(chars)
|
18 |
|
|
|
11 |
You can choose different options for training the RNN and see how it affects the generated text.
|
12 |
""")
|
13 |
|
14 |
+
# User input for the training string
|
15 |
+
sequence = st.text_area('Enter the training string:', 'In the vast expanse of the digital realm.')
|
16 |
chars = list(set(sequence))
|
17 |
data_size, vocab_size = len(sequence), len(chars)
|
18 |
|