atalaydenknalbant commited on
Commit
f08e531
·
verified ·
1 Parent(s): 070d3cc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -107,7 +107,7 @@ def update_visibility(input_type):
107
  if input_type == "Image":
108
  return gr.update(visible=True), gr.update(visible=False), gr.update(visible=True), gr.update(visible=False)
109
  else:
110
- return gr.update(visible=False), gr.update(visible=True), gr.update(visible=False), gr.update(visible=true)
111
 
112
  def yolo_inference_for_examples(image, model_id, conf_threshold, iou_threshold, max_detection):
113
  annotated_image, _ = yolo_inference(
 
107
  if input_type == "Image":
108
  return gr.update(visible=True), gr.update(visible=False), gr.update(visible=True), gr.update(visible=False)
109
  else:
110
+ return gr.update(visible=False), gr.update(visible=True), gr.update(visible=False), gr.update(visible=True)
111
 
112
  def yolo_inference_for_examples(image, model_id, conf_threshold, iou_threshold, max_detection):
113
  annotated_image, _ = yolo_inference(