fix hub serving parmas bug

This commit is contained in:
MissPenguin 2020-08-26 05:01:51 +00:00
parent fb9e47b262
commit 8a78af26df
3 changed files with 9 additions and 3 deletions

View File

@ -36,4 +36,6 @@ def read_params():
# cfg.rec_char_dict_path = "./ppocr/utils/ppocr_keys_v1.txt" # cfg.rec_char_dict_path = "./ppocr/utils/ppocr_keys_v1.txt"
# cfg.use_space_char = True # cfg.use_space_char = True
return cfg cfg.use_zero_copy_run = False
return cfg

View File

@ -38,4 +38,6 @@ def read_params():
cfg.rec_char_dict_path = "./ppocr/utils/ppocr_keys_v1.txt" cfg.rec_char_dict_path = "./ppocr/utils/ppocr_keys_v1.txt"
cfg.use_space_char = True cfg.use_space_char = True
return cfg cfg.use_zero_copy_run = False
return cfg

View File

@ -38,4 +38,6 @@ def read_params():
cfg.rec_char_dict_path = "./ppocr/utils/ppocr_keys_v1.txt" cfg.rec_char_dict_path = "./ppocr/utils/ppocr_keys_v1.txt"
cfg.use_space_char = True cfg.use_space_char = True
return cfg cfg.use_zero_copy_run = False
return cfg