import gradio as gr | |
def echo(text): | |
return text | |
# Gradio ์ธํฐํ์ด์ค ์ ์ | |
input_text = gr.inputs.Textbox(lines=5, label="์ ๋ ฅํ์ธ์:") | |
output_text = gr.outputs.Textbox(label="๊ฒฐ๊ณผ:") | |
# Gradio ์ธํฐํ์ด์ค ์คํ | |
gr.Interface(echo, inputs=input_text, outputs=output_text).launch() |