Spaces:
Runtime error
Runtime error
updated roboflow model to improve accuracy
Browse files
app.py
CHANGED
@@ -264,7 +264,7 @@ def fetchImage():
|
|
264 |
print(file_name)
|
265 |
|
266 |
# Set confidence threshold to 50%
|
267 |
-
custom_configuration = InferenceConfiguration(confidence_threshold=0.
|
268 |
with CLIENT.use_configuration(custom_configuration):
|
269 |
result = CLIENT.infer(
|
270 |
file_name, model_id="car-damage-detection-krsix/1")
|
|
|
264 |
print(file_name)
|
265 |
|
266 |
# Set confidence threshold to 50%
|
267 |
+
custom_configuration = InferenceConfiguration(confidence_threshold=0.7)
|
268 |
with CLIENT.use_configuration(custom_configuration):
|
269 |
result = CLIENT.infer(
|
270 |
file_name, model_id="car-damage-detection-krsix/1")
|