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() | |