Spaces:
Sleeping
Sleeping
Download code/gradio.py from shoupjom01/vehicle: direct link, hf CLI and curl.
- Browser
- Download file 216 Bytes
-
https://huggingface.co/spaces/shoupjom01/vehicle/resolve/main/code/gradio.py
- Command line
-
hf download hf://spaces/shoupjom01/vehicle/code/gradio.py
-
curl -L -o gradio.py https://huggingface.co/spaces/shoupjom01/vehicle/resolve/main/code/gradio.py
216 Bytes
| from fastai.vision.all import * | |
| import gradio as gr | |
| if __name__ == '__main__': # Add this block to handle multiprocessing on Windows | |
| def truck_or_car(x): return x(0).isupper() | |
| learn = load_learner(model/) |