happyHoliday commited on
Commit
2cef9d2
1 Parent(s): 2b3b341
Files changed (1) hide show
  1. app.py +1 -1
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("/saved_model")
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,