kdb8756 commited on
Commit
4cea91c
·
1 Parent(s): 1c645bc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -3
app.py CHANGED
@@ -68,9 +68,6 @@ def detect_pips_uploaded(uploaded_image, hue_threshold):
68
  cv2.putText(result_frame, f'Total pip count is: {count}', (10, result_frame.shape[0] - 30), font, 1, (0, 255, 255), 2, cv2.LINE_AA)
69
  return result_frame
70
 
71
-
72
- iface = gr.Interface(fn=my_function, inputs=my_input, outputs=my_output, title="My App", theme="dark")
73
-
74
  sample_images = ["23.jpg", "28.jpg", "36w.jpg", "64.jpg"]
75
 
76
  iface_uploaded = gr.Interface(fn=detect_pips_uploaded,
 
68
  cv2.putText(result_frame, f'Total pip count is: {count}', (10, result_frame.shape[0] - 30), font, 1, (0, 255, 255), 2, cv2.LINE_AA)
69
  return result_frame
70
 
 
 
 
71
  sample_images = ["23.jpg", "28.jpg", "36w.jpg", "64.jpg"]
72
 
73
  iface_uploaded = gr.Interface(fn=detect_pips_uploaded,