codelion commited on
Commit
fc08746
·
verified ·
1 Parent(s): aa4ca59

Switch to PyTorch - float32 ONNX too large for free CPU Space

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ from adaptive_classifier import AdaptiveClassifier
10
  # Load model once at startup
11
  print("Loading model...")
12
  classifier = AdaptiveClassifier.from_pretrained(
13
- "adaptive-classifier/ai-detector", use_onnx=True, prefer_quantized=False
14
  )
15
  print("Model loaded!")
16
 
 
10
  # Load model once at startup
11
  print("Loading model...")
12
  classifier = AdaptiveClassifier.from_pretrained(
13
+ "adaptive-classifier/ai-detector", use_onnx=False
14
  )
15
  print("Model loaded!")
16