neko941 commited on
Commit
5e3b678
1 Parent(s): e46d69b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -41,8 +41,8 @@ st.title("Hololive Waifu Classification")
41
 
42
  image = st.text_input('Image URL', '')
43
  imgsz = st.text_input('Image Size', 1280)
44
- conf = st.text_input('Confidence threshold', 0.25)
45
- iou = st.text_input('IoU threshold', 0.45)
46
  multi_label = st.selectbox('Multiple labels per box', (False, True))
47
  agnostic = st.selectbox('Class-agnostic', (False, True))
48
  amp = st.selectbox('Automatic Mixed Precision inference', (False, True))
 
41
 
42
  image = st.text_input('Image URL', '')
43
  imgsz = st.text_input('Image Size', 1280)
44
+ conf = st.slider(label='Confidence threshold', min_value=0.0, max_value=1.0, value=0.25, step=0.01)
45
+ iou = st.slider(label='IoU threshold', min_value=0.0, max_value=1.0, value=0.45, step=0.01)
46
  multi_label = st.selectbox('Multiple labels per box', (False, True))
47
  agnostic = st.selectbox('Class-agnostic', (False, True))
48
  amp = st.selectbox('Automatic Mixed Precision inference', (False, True))