fix hub serving parmas bug
This commit is contained in:
parent
fb9e47b262
commit
8a78af26df
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue