Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Andrew Stirn
commited on
Commit
•
63d3254
1
Parent(s):
cce961e
disable titration off-targets because hugging-face free tier can't support it without further optimization
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ def convert_df(df):
|
|
16 |
|
17 |
|
18 |
def mode_change_callback():
|
19 |
-
if st.session_state.mode
|
20 |
st.session_state.check_off_targets = False
|
21 |
st.session_state.disable_off_target_checkbox = True
|
22 |
else:
|
|
|
16 |
|
17 |
|
18 |
def mode_change_callback():
|
19 |
+
if st.session_state.mode in {tiger.RUN_MODES['all'], tiger.RUN_MODES['titration']}: # TODO: support titration
|
20 |
st.session_state.check_off_targets = False
|
21 |
st.session_state.disable_off_target_checkbox = True
|
22 |
else:
|