Fix path errors
Browse files
__pycache__/inference_svm_model.cpython-310.pyc
ADDED
Binary file (947 Bytes). View file
|
|
__pycache__/mineru_single.cpython-310.pyc
CHANGED
Binary files a/__pycache__/mineru_single.cpython-310.pyc and b/__pycache__/mineru_single.cpython-310.pyc differ
|
|
__pycache__/worker.cpython-310.pyc
ADDED
Binary file (4.05 kB). View file
|
|
mineru_single.py
CHANGED
@@ -21,7 +21,7 @@ class Processor:
|
|
21 |
endpoint_url=os.getenv("S3_ENDPOINT"),
|
22 |
)
|
23 |
|
24 |
-
model_path = os.getenv("SVM_MODEL_PATH", "./
|
25 |
self.svm_model = load_svm_model(model_path)
|
26 |
self.label_map = {0: "irrelevant", 1: "relevant"}
|
27 |
|
|
|
21 |
endpoint_url=os.getenv("S3_ENDPOINT"),
|
22 |
)
|
23 |
|
24 |
+
model_path = os.getenv("SVM_MODEL_PATH", "./model_classification/svm_model.joblib")
|
25 |
self.svm_model = load_svm_model(model_path)
|
26 |
self.label_map = {0: "irrelevant", 1: "relevant"}
|
27 |
|
svm_model.joblib
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:cfd07af67fb52073a477bcded6ed710f402f492d4fbc11945fbab1a68f7ceb62
|
3 |
-
size 219034075
|
|
|
|
|
|
|
|