Spaces:
Sleeping
Sleeping
seriouspark
commited on
Commit
ยท
e8ccc6c
1
Parent(s):
9965e47
add share parameter and put interface
Browse files
app.py
CHANGED
@@ -3,5 +3,9 @@ import gradio as gr
|
|
3 |
def greet(name):
|
4 |
return "Hello" + name + '!!'
|
5 |
|
6 |
-
iface = gr.Interface(
|
7 |
-
|
|
|
|
|
|
|
|
|
|
3 |
def greet(name):
|
4 |
return "Hello" + name + '!!'
|
5 |
|
6 |
+
iface = gr.Interface(
|
7 |
+
|
8 |
+
fn=greet,
|
9 |
+
inputs = gr.inputs.Textbox(lines=2, placeholder= '๋น์ ์ ๊ธ์ ๋ฃ์ด๋ณด์ธ์',
|
10 |
+
outputs = gr.outputs.Textbox(lines=10, placeholder = '๊ธ ์์ ์๋ ๋ฌด์์์ ์ฐพ์๋๋ฆฝ๋๋ค.')
|
11 |
+
iface.launch(share =True)
|