import gradio as gr def hello(name): return f"Xin chào {name}! Space của bạn đã chạy OK 🎉" demo = gr.Interface( fn=hello, inputs=gr.Textbox(label="Tên của bạn"), outputs=gr.Textbox(label="Kết quả"), title="Test Space", description="Demo Space đơn giản." ) if __name__ == "__main__": demo.launch()