Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -3,5 +3,14 @@ import gradio as gr
|
|
3 |
def greet(name):
|
4 |
return f"μλ
νμΈμ, {name}!"
|
5 |
|
6 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
iface.launch(debug=True, share=True)
|
|
|
3 |
def greet(name):
|
4 |
return f"μλ
νμΈμ, {name}!"
|
5 |
|
6 |
+
# Gradio μΈν°νμ΄μ€ μ μ
|
7 |
+
iface = gr.Interface(
|
8 |
+
fn=greet,
|
9 |
+
inputs=gr.Textbox(lines=10, label="μ¬κΈ°μ μ΄λ¦μ μ
λ ₯νμΈμ"),
|
10 |
+
outputs=gr.Textbox(label="μλ΅"),
|
11 |
+
title="μΈμ¬νκΈ°",
|
12 |
+
description="μ΄ μΉμ μ£Όμ΄μ§ μ΄λ¦μ λν΄ μλ
νμΈμλ‘ μΈμ¬ν©λλ€.",
|
13 |
+
article="μ΄κ²μ νμ΄μ¬ ν¨μμ Gradioλ₯Ό νμ©ν μΉ μμ μ
λλ€."
|
14 |
+
)
|
15 |
+
|
16 |
iface.launch(debug=True, share=True)
|