Spaces:
Running
Running
Switch to PyTorch - float32 ONNX too large for free CPU Space
Browse files
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=
|
| 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 |
|