Spaces:
Sleeping
Sleeping
Download app.py from un-defined/TChat: direct link, hf CLI and curl.
- Browser
- Download file 172 Bytes
-
https://huggingface.co/spaces/un-defined/TChat/resolve/main/app.py
- Command line
-
hf download hf://spaces/un-defined/TChat/app.py
-
curl -L -o app.py https://huggingface.co/spaces/un-defined/TChat/resolve/main/app.py
172 Bytes
| import gradio as gr | |
| def image_classifier(inp): | |
| return {'cat': 0.3, 'dog': 0.7} | |
| demo = gr.Interface(fn=image_classifier, inputs="image", outputs="label") | |
| demo.launch() |