JoJosmin commited on
Commit
eff6d6b
β€’
1 Parent(s): 2ffe9fa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.5: # 신뒰도 μž„κ³„κ°’ μ„€μ •
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,