Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -118,7 +118,7 @@ def detect_clothing_onnx(image):
|
|
118 |
if isinstance(conf, np.ndarray):
|
119 |
conf = np.max(conf) # λ°°μ΄μμ μ΅λ μ λ’°λ κ°
|
120 |
|
121 |
-
if conf > 0.
|
122 |
category = onnx_model_labels[int(cls)]
|
123 |
categories.append({
|
124 |
'category': category,
|
|
|
118 |
if isinstance(conf, np.ndarray):
|
119 |
conf = np.max(conf) # λ°°μ΄μμ μ΅λ μ λ’°λ κ°
|
120 |
|
121 |
+
if conf > 0.3: # μ λ’°λ μκ³κ° μ€μ
|
122 |
category = onnx_model_labels[int(cls)]
|
123 |
categories.append({
|
124 |
'category': category,
|