import gradio as gr def echo(text): return text # Gradio 인터페이스 정의 input_text = gr.Interface(fn=echo, inputs="text", outputs="text", title="Echo App", description="입력한 텍스트를 그대로 출력합니다.") # Gradio 인터페이스 실행 input_text.launch()