import gradio as gr def greet(name): return f"Hello {name}! AI Brain is working!" with gr.Blocks() as demo: gr.Markdown("# 🧠 AI BRAIN IS ALIVE!") name = gr.Textbox(label="Name", value="World") output = gr.Textbox(label="Output") gr.Button("Test").click(greet, name, output) demo.launch()