Update app.py
Browse files
app.py
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
def
|
4 |
-
return text
|
5 |
|
6 |
# Gradio μΈν°νμ΄μ€ μ μ
|
7 |
-
input_text = gr.inputs.Textbox(lines=5, label="
|
8 |
-
output_text = gr.outputs.Textbox(label="
|
9 |
|
10 |
# Gradio μΈν°νμ΄μ€ μ€ν
|
11 |
-
gr.Interface(
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
+
def echo(text):
|
4 |
+
return text
|
5 |
|
6 |
# Gradio μΈν°νμ΄μ€ μ μ
|
7 |
+
input_text = gr.inputs.Textbox(lines=5, label="μ
λ ₯νμΈμ:")
|
8 |
+
output_text = gr.outputs.Textbox(label="κ²°κ³Ό:")
|
9 |
|
10 |
# Gradio μΈν°νμ΄μ€ μ€ν
|
11 |
+
gr.Interface(echo, inputs=input_text, outputs=output_text).launch()
|