Spaces:
Runtime error
Runtime error
updated roboflow model to improve accuracy
Browse files
app.py
CHANGED
@@ -142,17 +142,17 @@ def fetchImage():
|
|
142 |
|
143 |
# Define a repair cost dictionary (per part)
|
144 |
repair_costs = {
|
145 |
-
"damage-front-windscreen":
|
146 |
-
"damaged-door":
|
147 |
-
"damaged-fender":
|
148 |
-
"damaged-front-bumper":
|
149 |
-
"damaged-head-light":
|
150 |
-
"damaged-hood":
|
151 |
-
"damaged-rear-bumper":
|
152 |
-
"damaged-rear-window":
|
153 |
-
"damaged-side-window":
|
154 |
-
"damaged-tail-light":
|
155 |
-
"quaterpanel-dent":
|
156 |
}
|
157 |
|
158 |
total_cost = 0
|
|
|
142 |
|
143 |
# Define a repair cost dictionary (per part)
|
144 |
repair_costs = {
|
145 |
+
"damage-front-windscreen": 500,
|
146 |
+
"damaged-door": 550,
|
147 |
+
"damaged-fender": 450,
|
148 |
+
"damaged-front-bumper": 440,
|
149 |
+
"damaged-head-light": 480,
|
150 |
+
"damaged-hood": 490,
|
151 |
+
"damaged-rear-bumper": 510,
|
152 |
+
"damaged-rear-window": 505,
|
153 |
+
"damaged-side-window": 501,
|
154 |
+
"damaged-tail-light": 478,
|
155 |
+
"quaterpanel-dent": 520
|
156 |
}
|
157 |
|
158 |
total_cost = 0
|