Commit ·
a31ca76
1
Parent(s): 271b526
Changed default threshold values
Browse files101 unmodified lines102103104105106107108109101 unmodified lines# gr.Webcam(type="numpy", label="Webcam"),gr.Image(source="upload", type="numpy", label="Baybayin Image"),# gr.Radio(["M-Raw", "S-Raw", "N-Raw", "M-Pre", "S-Pre", "N-Pre"], label="Model", value="M-Raw"),gr.Slider(0, 1, value=0.6, label="Classifier Confidence Threshold"),gr.Slider(0, 1, value=0.7, label="IoU Threshold")],# gr.Checkbox(label="Show Confidence Scores", value=False),[gr.Image(type="numpy", label="Detected Baybayin")], #gr.Textbox(lines=5, label="Detected Latin Syllabes")],title="Baybayin Instance Detection",101 unmodified lines102103104105106107108109101 unmodified lines# gr.Webcam(type="numpy", label="Webcam"),gr.Image(source="upload", type="numpy", label="Baybayin Image"),# gr.Radio(["M-Raw", "S-Raw", "N-Raw", "M-Pre", "S-Pre", "N-Pre"], label="Model", value="M-Raw"),gr.Slider(0, 1, value=0.5, label="Classifier Confidence Threshold"),gr.Slider(0, 1, value=0.5, label="IoU Threshold")],# gr.Checkbox(label="Show Confidence Scores", value=False),[gr.Image(type="numpy", label="Detected Baybayin")], #gr.Textbox(lines=5, label="Detected Latin Syllabes")],title="Baybayin Instance Detection",
app.py+2-2