Spaces:
Sleeping
Sleeping
Update app.py
Browse files13 unmodified lines14151617181920212223242517181920212223242526272813 unmodified linesfrom opyidrecog import initSDKfrom opyidrecog import processImage
licenseKeyPath = "license.txt"license = ""
try: with open(licenseKeyPath, 'r') as file: license = file.read().strip()except IOError as exc: print("failed to open license.txt: ", exc.errno)print("License Key: ", license)license = os.environ.get("LICENSE_KEY")
if license is None: try: with open(licenseKeyPath, 'r') as file: license = file.read().strip() except IOError as exc: print("failed to open license.txt: ", exc.errno) print("License Key: ", license)
hwid = getHWID()print("HWID: ", hwid.decode('utf-8'))app.py+9-9