Spaces:
Sleeping
Sleeping
Update my_model/state_manager.py
Browse files
my_model/state_manager.py
CHANGED
@@ -29,7 +29,6 @@ class StateManager:
|
|
29 |
|
30 |
def set_up_widgets(self):
|
31 |
|
32 |
-
|
33 |
self.col1.selectbox("Choose a method:", ["Fine-Tuned Model", "In-Context Learning (n-shots)"], index=0, key='method')
|
34 |
detection_model = self.col1.selectbox("Choose a model for objects detection:", ["yolov5", "detic"], index=1, key='detection_model')
|
35 |
default_confidence = 0.2 if st.session_state.detection_model == "yolov5" else 0.4
|
|
|
29 |
|
30 |
def set_up_widgets(self):
|
31 |
|
|
|
32 |
self.col1.selectbox("Choose a method:", ["Fine-Tuned Model", "In-Context Learning (n-shots)"], index=0, key='method')
|
33 |
detection_model = self.col1.selectbox("Choose a model for objects detection:", ["yolov5", "detic"], index=1, key='detection_model')
|
34 |
default_confidence = 0.2 if st.session_state.detection_model == "yolov5" else 0.4
|