Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
progress
Browse files
app.py
CHANGED
|
@@ -136,14 +136,16 @@ if __name__ == '__main__':
|
|
| 136 |
st.button(label='Get predictions!', on_click=process_input)
|
| 137 |
|
| 138 |
with RESULTS:
|
| 139 |
-
if run:
|
| 140 |
-
|
| 141 |
-
|
| 142 |
-
|
| 143 |
-
|
| 144 |
-
|
| 145 |
-
|
| 146 |
-
)
|
|
|
|
|
|
|
| 147 |
|
| 148 |
# # valid input
|
| 149 |
# if src_seq and all([True if nt.upper() in NUCLEOTIDE_TOKENS.keys() else False for nt in src_seq]):
|
|
|
|
| 136 |
st.button(label='Get predictions!', on_click=process_input)
|
| 137 |
|
| 138 |
with RESULTS:
|
| 139 |
+
if st.session_state.run:
|
| 140 |
+
st.session_state.run = False
|
| 141 |
+
print('RUNNING')
|
| 142 |
+
# on_target, off_target = tiger.tiger_exhibit(
|
| 143 |
+
# transcripts=st.session_state.transcripts,
|
| 144 |
+
# mode={v: k for k, v in tiger.RUN_MODES.items()}[st.session_state.mode],
|
| 145 |
+
# status=st.empty(),
|
| 146 |
+
# progress_bar=st.progress(0),
|
| 147 |
+
# check_off_targets=st.session_state.check_off_targets
|
| 148 |
+
# )
|
| 149 |
|
| 150 |
# # valid input
|
| 151 |
# if src_seq and all([True if nt.upper() in NUCLEOTIDE_TOKENS.keys() else False for nt in src_seq]):
|