Download app.py from bosayama/a: direct link, hf CLI and curl.
- Browser
- Download file 351 Bytes
-
https://huggingface.co/spaces/bosayama/a/resolve/main/app.py
- Command line
-
hf download hf://spaces/bosayama/a/app.py
-
curl -L -o app.py https://huggingface.co/spaces/bosayama/a/resolve/main/app.py
351 Bytes
| import gradio as gr | |
| iface = gr.Interface( | |
| fn=None, # この関数はHTMLファイルによって定義される | |
| live=True, | |
| title="Teachable Machine Image Model", | |
| description="Webcam-based image classification using Teachable Machine", | |
| inputs=[], | |
| outputs=gr.File("gr"), # ディレクトリを指定する | |
| ) | |
| iface.launch() | |