Spaces:
Runtime error
Runtime error
| import gradio as gr | |
| def hi(txt): | |
| return "Working ✅: " + txt | |
| with gr.Blocks() as demo: | |
| inp = gr.Textbox() | |
| out = gr.Textbox() | |
| gr.Button("Run").click(hi, inp, out) | |
| demo.launch() | |
| import gradio as gr | |
| def hi(txt): | |
| return "Working ✅: " + txt | |
| with gr.Blocks() as demo: | |
| inp = gr.Textbox() | |
| out = gr.Textbox() | |
| gr.Button("Run").click(hi, inp, out) | |
| demo.launch() | |