Spaces:
Sleeping
Sleeping
seriouspark
commited on
Commit
β’
b70a00f
1
Parent(s):
e8ccc6c
add share parameter and put interface
Browse files
app.py
CHANGED
@@ -3,9 +3,9 @@ import gradio as gr
|
|
3 |
def greet(name):
|
4 |
return "Hello" + name + '!!'
|
5 |
|
6 |
-
iface = gr.Interface(
|
7 |
|
8 |
-
|
9 |
-
|
10 |
-
|
|
|
11 |
iface.launch(share =True)
|
|
|
3 |
def greet(name):
|
4 |
return "Hello" + name + '!!'
|
5 |
|
|
|
6 |
|
7 |
+
iface = gr.Interface(
|
8 |
+
fn=greet,
|
9 |
+
inputs = gr.inputs.Textbox(lines=2, placeholder= 'λΉμ μ κΈμ λ£μ΄λ³΄μΈμ'),
|
10 |
+
outputs = gr.outputs.Textbox(lines=10, placeholder = 'κΈ μμ μλ 무μμμ μ°Ύμλ립λλ€.')
|
11 |
iface.launch(share =True)
|