test / app.py
jassminvo1's picture
Update app.py
6968d57 verified
raw
history blame contribute delete
353 Bytes
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()