Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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.
|
45 |
-
iou = st.
|
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))
|