Spaces:
Sleeping
Sleeping
Download app.py from Red2437/Hughes_Apps: direct link, hf CLI and curl.
- Browser
- Download file 235 Bytes
-
https://huggingface.co/spaces/Red2437/Hughes_Apps/resolve/main/app.py
- Command line
-
hf download hf://spaces/Red2437/Hughes_Apps/app.py
-
curl -L -o app.py https://huggingface.co/spaces/Red2437/Hughes_Apps/resolve/main/app.py
235 Bytes
| import gradio as gr | |
| from transformers import pipeline | |
| def greet(name): | |
| return "Hello " + name + "!" | |
| iface = gr.Interface(fn=greet, inputs="text", outputs="text") | |
| if __name__ == "__main__": | |
| iface.launch(share=True) | |