Spaces:
Sleeping
Sleeping
from model1 import model1 | |
from model2 import model2 | |
import checkTool | |
def textreader(path): | |
info1 = model1(path) | |
info2 = model2(path) | |
def print_info(name, valid_hkid, hkid, issuedate): | |
print(f'Name: {name}') # name is without space | |
print(f'HKID: {hkid} and validity: {valid_hkid}') | |
print(f'Date of issue: {issuedate}') | |
cinfo = checkTool.combine_info(info1, info2) | |
return cinfo[0] | |
# print_info(*cinfo) |