m7mdal7aj commited on
Commit
f6540c7
1 Parent(s): 044c2d1

Update my_model/tabs/run_inference.py

Browse files
Files changed (1) hide show
  1. my_model/tabs/run_inference.py +2 -2
my_model/tabs/run_inference.py CHANGED
@@ -218,7 +218,7 @@ class InferenceRunner(StateManager):
218
  st.session_state.button_label = "Reload Model" if self.is_model_loaded and st.session_state.kbvqa.detection_model != st.session_state['detection_model'] else "Load Model"
219
 
220
  with self.col1:
221
- if st.session_state.method == "Fine-Tuned Model":
222
  with st.container():
223
  nested_col11, nested_col12 = st.columns([0.5, 0.5])
224
  if nested_col11.button(st.session_state.button_label, on_click=self.disable_widgets, disabled=self.is_widget_disabled):
@@ -259,7 +259,7 @@ class InferenceRunner(StateManager):
259
  st.session_state['loading_in_progress'] = False
260
  st.session_state['model_loaded'] = True
261
 
262
- elif st.session_state.method == "In-Context Learning (n-shots)":
263
  self.col1.warning(f'Model using {st.session_state.method} is not deployed yet, will be ready later.')
264
 
265
 
 
218
  st.session_state.button_label = "Reload Model" if self.is_model_loaded and st.session_state.kbvqa.detection_model != st.session_state['detection_model'] else "Load Model"
219
 
220
  with self.col1:
221
+ if st.session_state.method == "7b-Fine-Tuned Model":
222
  with st.container():
223
  nested_col11, nested_col12 = st.columns([0.5, 0.5])
224
  if nested_col11.button(st.session_state.button_label, on_click=self.disable_widgets, disabled=self.is_widget_disabled):
 
259
  st.session_state['loading_in_progress'] = False
260
  st.session_state['model_loaded'] = True
261
 
262
+ elif st.session_state.method == "13b-Fine-Tuned Model":
263
  self.col1.warning(f'Model using {st.session_state.method} is not deployed yet, will be ready later.')
264
 
265