Spaces:
Sleeping
Sleeping
Download src/utils.py from Akash076/ocr_product_scanner: direct link, hf CLI and curl.
- Browser
- Download file 111 Bytes
-
https://huggingface.co/spaces/Akash076/ocr_product_scanner/resolve/main/src/utils.py
- Command line
-
hf download hf://spaces/Akash076/ocr_product_scanner/src/utils.py
-
curl -L -o utils.py https://huggingface.co/spaces/Akash076/ocr_product_scanner/resolve/main/src/utils.py
111 Bytes
| import os | |
| def clean_temp_files(): | |
| if os.path.exists("temp_img.jpg"): | |
| os.remove("temp_img.jpg") |