Download app.py from uranusmediaconn/test-convert-space: direct link, hf CLI and curl.
- Browser
- Download file 181 Bytes
-
https://huggingface.co/spaces/uranusmediaconn/test-convert-space/resolve/main/app.py
- Command line
-
hf download hf://spaces/uranusmediaconn/test-convert-space/app.py
-
curl -L -o app.py https://huggingface.co/spaces/uranusmediaconn/test-convert-space/resolve/main/app.py
181 Bytes
| import gradio as gr | |
| def greet(name): | |
| return f"Hello {name}!" | |
| demo = gr.Interface(fn=greet, inputs="text", outputs="text") | |
| demo.launch(server_name="0.0.0.0", server_port=7860) | |