Spaces:
Sleeping
Sleeping
DeepLearning101
commited on
Commit
•
8a94bfc
1
Parent(s):
e95b4e9
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ from dateutil import parser
|
|
13 |
from datetime import datetime
|
14 |
|
15 |
model_type = "bert"
|
16 |
-
hugie_model_name_or_path = "
|
17 |
hugie = HugIEAPI(model_type, hugie_model_name_or_path)
|
18 |
|
19 |
def convert_to_ROC_date(date): #只轉換年月日等日期
|
|
|
13 |
from datetime import datetime
|
14 |
|
15 |
model_type = "bert"
|
16 |
+
hugie_model_name_or_path = "https://huggingface.co/wjn1996/wjn1996-hugnlp-hugie-large-zh/" #如果不能連網,請自行下載並設定路徑
|
17 |
hugie = HugIEAPI(model_type, hugie_model_name_or_path)
|
18 |
|
19 |
def convert_to_ROC_date(date): #只轉換年月日等日期
|