Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -80,8 +80,8 @@ select_model = st.selectbox("ιζ©ηι’εζ樑εοΌ", model_types.keys())
|
|
80 |
st.write("ζ―ζζ£ζ΅η±»εοΌ")
|
81 |
st.code(model_types[select_model], language="python")
|
82 |
|
83 |
-
conf_threshold = st.slider("Confidence Threshold", 0, 1, 0.5)
|
84 |
-
iou_threshold = st.slider("IoU Threshold", 0, 1, 0.5)
|
85 |
|
86 |
with st.spinner(f"Downloading {select_model} model..."):
|
87 |
layout_engine = RapidLayout(model_type=select_model, conf_thres=conf_threshold, iou_thres=iou_threshold)
|
|
|
80 |
st.write("ζ―ζζ£ζ΅η±»εοΌ")
|
81 |
st.code(model_types[select_model], language="python")
|
82 |
|
83 |
+
conf_threshold = st.slider("Confidence Threshold", 0.0, 1.0, 0.5)
|
84 |
+
iou_threshold = st.slider("IoU Threshold", 0.0, 1.0, 0.5)
|
85 |
|
86 |
with st.spinner(f"Downloading {select_model} model..."):
|
87 |
layout_engine = RapidLayout(model_type=select_model, conf_thres=conf_threshold, iou_thres=iou_threshold)
|