SWHL commited on
Commit
6482965
β€’
1 Parent(s): e7d8bed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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)