# app.py import gradio as gr def hello(name): return f"안녕하세요, {name}님!" app = gr.Interface( fn=hello, inputs=gr.Textbox(label="이름을 입력하세요"), outputs=gr.Textbox(label="인사말"), title="테스트용 인사 앱" )