reidddd commited on
Commit
c8a074b
·
1 Parent(s): 9aa0062

updated roboflow model to improve accuracy

Browse files
Files changed (1) hide show
  1. app.py +12 -12
app.py CHANGED
@@ -108,18 +108,18 @@ def fetchImage():
108
  print(f"Failed to download image. Status code: {response.status_code}")
109
  image = cv2.imread(file_name)
110
 
111
- repair_costs_inr = {
112
- "damage-front-windscreen": 1200, # Includes glass replacement and labor
113
- "damaged-door": 1500, # Includes denting, painting, and panel replacement if needed
114
- "damaged-fender": 900, # Includes denting, painting, and possible part replacement
115
- "damaged-front-bumper": 1100, # Includes bumper replacement and painting
116
- "damaged-head-light": 700, # Headlight unit replacement
117
- "damaged-hood": 1400, # Hood denting, painting, or full replacement
118
- "damaged-rear-bumper": 1000, # Bumper replacement and painting
119
- "damaged-rear-window": 1100, # Rear windshield glass replacement
120
- "damaged-side-window": 800, # Side window glass replacement
121
- "damaged-tail-light": 600, # Tail light unit replacement
122
- "quarterpanel-dent": 1200 # Dent removal and repainting
123
  }
124
 
125
  total_cost = 0
 
108
  print(f"Failed to download image. Status code: {response.status_code}")
109
  image = cv2.imread(file_name)
110
 
111
+ repair_costs = {
112
+ "damage-front-windscreen": 500,
113
+ "damaged-door": 550,
114
+ "damaged-fender": 450,
115
+ "damaged-front-bumper": 440,
116
+ "damaged-head-light": 480,
117
+ "damaged-hood": 490,
118
+ "damaged-rear-bumper": 510,
119
+ "damaged-rear-window": 505,
120
+ "damaged-side-window": 501,
121
+ "damaged-tail-light": 478,
122
+ "quaterpanel-dent": 520
123
  }
124
 
125
  total_cost = 0