Spaces:
Paused
Paused
File size: 280 Bytes
879d909 | 1 2 3 4 5 6 7 8 9 10 | import gradio as gr
with gr.Blocks() as demo:
gr.Markdown("# LongCat Demo Test")
name = gr.Textbox(label="Your name")
btn = gr.Button("Greet")
output = gr.Textbox(label="Greeting")
btn.click(lambda x: f"Hello {x}!", inputs=name, outputs=output)
demo.launch() |