Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Andrew Stirn
commited on
Commit
·
227367c
1
Parent(s):
1574649
progress
Browse files
app.py
CHANGED
|
@@ -90,6 +90,8 @@ if __name__ == '__main__':
|
|
| 90 |
st.session_state.entry_method = ENTRY_METHODS['manual']
|
| 91 |
st.session_state.manual_entry_disabled = False
|
| 92 |
st.session_state.fasta_entry_disabled = True
|
|
|
|
|
|
|
| 93 |
|
| 94 |
# title and documentation
|
| 95 |
with DOCUMENTATION:
|
|
@@ -131,7 +133,7 @@ if __name__ == '__main__':
|
|
| 131 |
key='fasta_entry',
|
| 132 |
disabled=st.session_state.fasta_entry_disabled
|
| 133 |
)
|
| 134 |
-
|
| 135 |
|
| 136 |
with RESULTS:
|
| 137 |
if run:
|
|
|
|
| 90 |
st.session_state.entry_method = ENTRY_METHODS['manual']
|
| 91 |
st.session_state.manual_entry_disabled = False
|
| 92 |
st.session_state.fasta_entry_disabled = True
|
| 93 |
+
if 'run' not in st.session_state:
|
| 94 |
+
st.session_state.run = False
|
| 95 |
|
| 96 |
# title and documentation
|
| 97 |
with DOCUMENTATION:
|
|
|
|
| 133 |
key='fasta_entry',
|
| 134 |
disabled=st.session_state.fasta_entry_disabled
|
| 135 |
)
|
| 136 |
+
st.button(label='Get predictions!', on_click=process_input)
|
| 137 |
|
| 138 |
with RESULTS:
|
| 139 |
if run:
|