Spaces:
Runtime error
Runtime error
Download app.py from fried3rd/test2: direct link, hf CLI and curl.
- Browser
- Download file 488 Bytes
-
https://huggingface.co/spaces/fried3rd/test2/resolve/main/app.py
- Command line
-
hf download hf://spaces/fried3rd/test2/app.py
-
curl -L -o app.py https://huggingface.co/spaces/fried3rd/test2/resolve/main/app.py
488 Bytes
| import gradio as gr | |
| def greet(name): | |
| return "Hello " + name + "!" | |
| def greet2(name): | |
| return "*********** " + name + " ***********" | |
| def greet3(name): | |
| return "--------------------" + name + "-----------------" | |
| def greet4(name): | |
| return "{{" + name + "}}" | |
| # demo = gr.Interface(fn=greet2, inputs="text", outputs="text") | |
| # demo = gr.Interface(fn=greet3, inputs="text", outputs="text") | |
| demo = gr.Interface(fn=greet4, inputs="text", outputs="text") | |
| demo.launch(share=True) | |