Download app.py from visernic/README: direct link, hf CLI and curl.
- Browser
- Download file 313 Bytes
-
https://huggingface.co/spaces/visernic/README/resolve/main/app.py
- Command line
-
hf download hf://spaces/visernic/README/app.py
-
curl -L -o app.py https://huggingface.co/spaces/visernic/README/resolve/main/app.py
313 Bytes
| import gradio as gr | |
| def greet(name): | |
| return f"Hello, {name}! Welcome to Visernic 🚀" | |
| demo = gr.Interface(fn=greet, inputs="text", outputs="text", | |
| title="Visernic Demo", | |
| description="A simple demo by Visernic Limited") | |
| if __name__ == "__main__": | |
| demo.launch() | |