m7mdal7aj commited on
Commit
756ae8a
1 Parent(s): 8878fc9

Update my_model/tabs/run_inference.py

Browse files
Files changed (1) hide show
  1. my_model/tabs/run_inference.py +1 -1
my_model/tabs/run_inference.py CHANGED
@@ -104,7 +104,7 @@ def run_inference():
104
 
105
 
106
  if st.session_state.method == "Fine-Tuned Model":
107
- if st.button(button_label):
108
  if button_label == "Load Model":
109
  if state_manager.is_model_loaded():
110
  st.text("Model already loaded and no settings were changed:)")
 
104
 
105
 
106
  if st.session_state.method == "Fine-Tuned Model":
107
+ if st.button(st.session_state.button_label):
108
  if button_label == "Load Model":
109
  if state_manager.is_model_loaded():
110
  st.text("Model already loaded and no settings were changed:)")