m7mdal7aj commited on
Commit
72a377a
1 Parent(s): 5dd58f8

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
@@ -105,7 +105,7 @@ def run_inference():
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:)")
111
 
 
105
 
106
  if st.session_state.method == "Fine-Tuned Model":
107
  if st.button(st.session_state.button_label):
108
+ if st.session_state.button_label == "Load Model":
109
  if state_manager.is_model_loaded():
110
  st.text("Model already loaded and no settings were changed:)")
111