Spaces:
Runtime error
Runtime error
Download app.py from Corin1998/Agent_studio: direct link, hf CLI and curl.
- Browser
- Download file 264 Bytes
-
https://huggingface.co/spaces/Corin1998/Agent_studio/resolve/main/app.py
- Command line
-
hf download hf://spaces/Corin1998/Agent_studio/app.py
-
curl -L -o app.py https://huggingface.co/spaces/Corin1998/Agent_studio/resolve/main/app.py
264 Bytes
| import gradio as gr | |
| def ping(): | |
| return "pong" | |
| with gr.Blocks(title="Gradio Boot") as demo: | |
| btn = gr.Button("Ping") | |
| out = gr.Markdown("Click Ping") | |
| btn.click(fn=ping, inputs=None, outputs=out) | |
| # 念のため両名をエクスポート | |
| app = demo | |