Spaces:
Paused

longcat-test / app.py
ereezy's picture
Upload app.py with huggingface_hub
879d909 verified
Raw History Blame Contribute Delete
280 Bytes
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()