Spaces:
Sleeping
Sleeping
Commit
·
e681492
1
Parent(s):
6338950
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ typeId = {'การเมือง': 0, 'กีฬา': 1, 'คุณภาพ
|
|
12 |
|
13 |
loaded_model = ClassificationModel(
|
14 |
"bert",
|
15 |
-
"
|
16 |
use_cuda=torch.cuda.is_available(),
|
17 |
num_labels=14,
|
18 |
)
|
|
|
12 |
|
13 |
loaded_model = ClassificationModel(
|
14 |
"bert",
|
15 |
+
"/model/thainewsClassify_model_3_14",
|
16 |
use_cuda=torch.cuda.is_available(),
|
17 |
num_labels=14,
|
18 |
)
|