"comfy/ldm/modules/vscode:/vscode.git/clone" did not exist on "4efa67fa1239b49bdbdb944ac1980a6a4730b5e2"
Commit 8a0a3a54 authored by tink2123's avatar tink2123
Browse files

update result img

parent 1210dbf5
......@@ -46,9 +46,14 @@ for idx, img_file in enumerate(os.listdir(test_img_dir)):
# check success
if result["err_no"] == 0:
ocr_result = result["value"][0]
try:
for item in eval(ocr_result):
# return transcription and points
print("{}, {}".format(item[0], item[1]))
except Exception as e:
print("No results")
continue
else:
print(
"For details about error message, see PipelineServingLogs/pipeline.log"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment