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