Download app.py from Jaehan/Image-Classification-Using-a-Vision-Transformer-1: direct link, hf CLI and curl.
- Browser
- Download file 189 Bytes
-
https://huggingface.co/spaces/Jaehan/Image-Classification-Using-a-Vision-Transformer-1/resolve/main/app.py
- Command line
-
hf download hf://spaces/Jaehan/Image-Classification-Using-a-Vision-Transformer-1/app.py
-
curl -L -o app.py https://huggingface.co/spaces/Jaehan/Image-Classification-Using-a-Vision-Transformer-1/resolve/main/app.py
189 Bytes
| import gradio as gr | |
| model_name = "models/microsoft/swin-tiny-patch4-window7-224" | |
| gr.Interface.load(model_name, theme="default", css=".footer{display:none !important}", title=None).launch() |