HarishMaths commited on
Commit
d25f49e
·
verified ·
1 Parent(s): 0f32afd

Update streamlit_app.py

Browse files
Files changed (1) hide show
  1. streamlit_app.py +4 -2
streamlit_app.py CHANGED
@@ -12,9 +12,11 @@ st.markdown(
12
 
13
  characters = st.text_input("Enter the characters to begin with")
14
 
15
- one_step_reloaded = tf.saved_model.load('reonestep20F')
16
 
17
- if characters:
 
 
18
 
19
  states = None
20
  next_char = tf.constant([characters])
 
12
 
13
  characters = st.text_input("Enter the characters to begin with")
14
 
15
+ epoch = st.radio("Enter the epoch value",['1','5','10','25','50','100','200'])
16
 
17
+ if characters and epoch:
18
+
19
+ one_step_reloaded = tf.saved_model.load(f'model_epoch{epoch}')
20
 
21
  states = None
22
  next_char = tf.constant([characters])