Spaces:
Build error
Build error
| import io | |
| def is_coral(): | |
| try: | |
| with io.open('/sys/firmware/devicetree/base/model', 'r') as m: | |
| line = m.read().lower() | |
| if 'phanbell' in line or "coral" in line: return True | |
| except Exception: pass | |
| return False | |
| ADS = is_coral() | |