Spaces:
Build error
Build error
import gradio as gr | |
def test(): | |
return "test" | |
with gr.Blocks() as demo: | |
run_button = gr.Button("Run", variant="primary") | |
info = gr.Textbox(label="Output", value="", show_copy_button=True) | |
run_button.click(test, None, [info]) | |
demo.launch() | |