Update my_model/tabs/run_inference.py
Browse files
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:)")
|