Spaces:
Runtime error
Runtime error
Download utils.py from rishabh5752/ABITWISER: direct link, hf CLI and curl.
- Browser
- Download file 278 Bytes
-
https://huggingface.co/spaces/rishabh5752/ABITWISER/resolve/main/utils.py
- Command line
-
hf download hf://spaces/rishabh5752/ABITWISER/utils.py
-
curl -L -o utils.py https://huggingface.co/spaces/rishabh5752/ABITWISER/resolve/main/utils.py
278 Bytes
| def cancer_category(percentage): | |
| if percentage>=0 and percentage<25: | |
| return "Pre Benign" | |
| elif percentage>=25 and percentage<50: | |
| return "Benign" | |
| elif percentage>=50 and percentage<75: | |
| return "Pre Malignant" | |
| else: | |
| return "Malignant" |