ajitrajasekharan commited on
Commit
6244fd0
·
1 Parent(s): c2211c1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -150,10 +150,10 @@ def main():
150
  text_input = st.text_input("Type any sentence below", "",key='my_text')
151
  custom_model_selection = st.text_input("Model not listed on left? Type the model name (**fill-mask BERT models only**)", "",key="my_model2")
152
  submit_button = st.form_submit_button('Submit')
153
- st.info("Currently selected results count = " + str(st.session_state['top_k']))
154
- st.info("Currently selected Model name = " + st.session_state['model_name'])
155
  input_status_area = st.empty()
156
  display_area = st.empty()
 
157
  if submit_button:
158
  start = time.time()
159
  if (len(text_input) == 0):
 
150
  text_input = st.text_input("Type any sentence below", "",key='my_text')
151
  custom_model_selection = st.text_input("Model not listed on left? Type the model name (**fill-mask BERT models only**)", "",key="my_model2")
152
  submit_button = st.form_submit_button('Submit')
153
+
 
154
  input_status_area = st.empty()
155
  display_area = st.empty()
156
+ display_area.text("Currently selected results count = " + str(st.session_state['top_k'] + " " + "Currently selected Model name = " + st.session_state['model_name'])
157
  if submit_button:
158
  start = time.time()
159
  if (len(text_input) == 0):