Spaces:
Runtime error
Runtime error
Download classifier.py from routsourav1729/classifier: direct link, hf CLI and curl.
- Browser
- Download file 206 Bytes
-
https://huggingface.co/spaces/routsourav1729/classifier/resolve/main/classifier.py
- Command line
-
hf download hf://spaces/routsourav1729/classifier/classifier.py
-
curl -L -o classifier.py https://huggingface.co/spaces/routsourav1729/classifier/resolve/main/classifier.py
206 Bytes
| import gradio as gr | |
| def greet(name): | |
| return "Hello " + name + "!!" | |
| def dontGreet(name): | |
| return "Leave at once " + name | |
| iface = gr.Interface(fn=greet, inputs="text", outputs="text") | |
| iface.launch() |