Spaces:
Sleeping
Sleeping
Download process.py from zerishdorelser/cat-dog-classifier: direct link, hf CLI and curl.
- Browser
- Download file 107 Bytes
-
https://huggingface.co/spaces/zerishdorelser/cat-dog-classifier/resolve/main/process.py
- Command line
-
hf download hf://spaces/zerishdorelser/cat-dog-classifier/process.py
-
curl -L -o process.py https://huggingface.co/spaces/zerishdorelser/cat-dog-classifier/resolve/main/process.py
107 Bytes
| import tensorflow as tf | |
| def process(image): | |
| image= tf.cast(image/255, tf.float32) | |
| return image |