Download Lib/Const.py from blitzkrieg0000/IsolatorFaultDetection: direct link, hf CLI and curl.
- Browser
- Download file 256 Bytes
-
https://huggingface.co/spaces/blitzkrieg0000/IsolatorFaultDetection/resolve/main/Lib/Const.py
- Command line
-
hf download hf://spaces/blitzkrieg0000/IsolatorFaultDetection/Lib/Const.py
-
curl -L -o Const.py https://huggingface.co/spaces/blitzkrieg0000/IsolatorFaultDetection/resolve/main/Lib/Const.py
256 Bytes
| LABELS = {0: "Eksik Halka", 1: "KIRIK", 2: "Ark izi"} | |
| COLOR_MAP = {"Eksik Halka":"#ffffff", "KIRIK":"#0000ff", "Ark izi":"#ff0000"} | |
| COLOR_MAP_RGB = {key : [ int(value[1:3], 16), int(value[3:5], 16), int(value[5:7], 16)] for key, value in COLOR_MAP.items()} |