shrey14 commited on
Commit
cb97926
·
verified ·
1 Parent(s): 75f9a7c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -14,8 +14,8 @@ CLIENT = InferenceHTTPClient(
14
 
15
  # Model settings
16
  MODEL_ID = "hvacsym/5"
17
- CONFIDENCE_THRESHOLD = 20 # Confidence threshold for filtering predictions
18
- GRID_SIZE = (4, 4) # 4x4 segmentation
19
 
20
  def process_image(image_path):
21
  """Processes an uploaded image and returns the final image with bounding boxes & symbol counts."""
 
14
 
15
  # Model settings
16
  MODEL_ID = "hvacsym/5"
17
+ CONFIDENCE_THRESHOLD = 0.3 # Confidence threshold for filtering predictions
18
+ GRID_SIZE = (3, 3) # 4x4 segmentation
19
 
20
  def process_image(image_path):
21
  """Processes an uploaded image and returns the final image with bounding boxes & symbol counts."""