提交 8a78af26 编写于 作者: M MissPenguin

fix hub serving parmas bug

上级 fb9e47b2
...@@ -36,4 +36,6 @@ def read_params(): ...@@ -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
\ No newline at end of file
return cfg
...@@ -38,4 +38,6 @@ def read_params(): ...@@ -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
\ No newline at end of file
return cfg
...@@ -38,4 +38,6 @@ def read_params(): ...@@ -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
\ No newline at end of file
return cfg
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册