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)
|