Andrew Stirn commited on
Commit
ff943ce
1 Parent(s): 7867f0a

better comment

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -170,7 +170,7 @@ if __name__ == '__main__':
170
  else:
171
  st.write('We did not find any off-target effects!')
172
 
173
- # run model until we clear inputs
174
  if st.session_state.transcripts is not None:
175
  st.session_state.on_target, st.session_state.off_target = tiger.tiger_exhibit(
176
  transcripts=st.session_state.transcripts,
 
170
  else:
171
  st.write('We did not find any off-target effects!')
172
 
173
+ # keep trying to run model until we clear inputs (streamlit UI changes can induce race-condition reruns)
174
  if st.session_state.transcripts is not None:
175
  st.session_state.on_target, st.session_state.off_target = tiger.tiger_exhibit(
176
  transcripts=st.session_state.transcripts,