Spaces:
Sleeping
Sleeping
| import spaces | |
| import gradio as gr | |
| def test_fn(): | |
| return "Hello" | |
| with gr.Blocks() as demo: | |
| btn = gr.Button("Test") | |
| out = gr.Textbox() | |
| btn.click(test_fn, outputs=out) | |
| import spaces | |
| import gradio as gr | |
| def test_fn(): | |
| return "Hello" | |
| with gr.Blocks() as demo: | |
| btn = gr.Button("Test") | |
| out = gr.Textbox() | |
| btn.click(test_fn, outputs=out) | |