Download Launch from Hugorowan/2GPT: direct link, hf CLI and curl.
- Browser
- Download file 149 Bytes
-
https://huggingface.co/spaces/Hugorowan/2GPT/resolve/main/Launch
- Command line
-
hf download hf://spaces/Hugorowan/2GPT/Launch
-
curl -L -o Launch https://huggingface.co/spaces/Hugorowan/2GPT/resolve/main/Launch
149 Bytes
| import gradio as gr | |
| def greet(name): | |
| return "Hello " + name + "!!" | |
| iface = gr.Interface(fn=greet, inputs="text", outputs="text") | |
| iface.launch() |