Download outdated-files/app-basic.py from iowastate/agllm2: direct link, hf CLI and curl.
- Browser
- Download file 402 Bytes
-
https://huggingface.co/spaces/iowastate/agllm2/resolve/main/outdated-files/app-basic.py
- Command line
-
hf download hf://spaces/iowastate/agllm2/outdated-files/app-basic.py
-
curl -L -o app-basic.py https://huggingface.co/spaces/iowastate/agllm2/resolve/main/outdated-files/app-basic.py
402 Bytes
| # import gradio as gr | |
| # def greet(name): | |
| # return "Hello " + name + "!" | |
| # demo = gr.Interface(fn=greet, inputs="textbox", outputs="textbox") | |
| # demo.launch() # Share your demo with just 1 extra parameter | |
| import gradio as gr | |
| def greet(name): | |
| return "Hello " + name + "!" | |
| demo = gr.Interface(fn=greet, inputs="textbox", outputs="textbox") | |
| if __name__ == "__main__": | |
| demo.launch() |