Spaces:
Build error
Build error
happyHoliday
commited on
Commit
•
2cef9d2
1
Parent(s):
2b3b341
add
Browse files
app.py
CHANGED
@@ -36,7 +36,7 @@ def QA(text):
|
|
36 |
|
37 |
try:
|
38 |
MODEL_NAME = 'cl-tohoku/bert-base-japanese-whole-word-masking'
|
39 |
-
bert_sc = BertForSequenceClassification.from_pretrained("
|
40 |
|
41 |
tokenizer = BertJapaneseTokenizer.from_pretrained(
|
42 |
MODEL_NAME,
|
|
|
36 |
|
37 |
try:
|
38 |
MODEL_NAME = 'cl-tohoku/bert-base-japanese-whole-word-masking'
|
39 |
+
bert_sc = BertForSequenceClassification.from_pretrained("./saved_model")
|
40 |
|
41 |
tokenizer = BertJapaneseTokenizer.from_pretrained(
|
42 |
MODEL_NAME,
|