samfhy commited on
Commit
a50a76e
·
verified ·
1 Parent(s): 92d1004

Test USE_OPTIMIZED_THRESHOLD = True

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -51,7 +51,7 @@ labels = [
51
  num_labels = len(labels)
52
 
53
  # Toggle between optimized per-class thresholds and a fixed 0.5 cutoff
54
- USE_OPTIMIZED_THRESHOLD = False
55
 
56
  # If using GPU
57
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
 
51
  num_labels = len(labels)
52
 
53
  # Toggle between optimized per-class thresholds and a fixed 0.5 cutoff
54
+ USE_OPTIMIZED_THRESHOLD = True
55
 
56
  # If using GPU
57
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")