moogeulmoogeul / app.py
seriouspark's picture
add share parameter and put interface
e8ccc6c
raw
history blame
324 Bytes
import gradio as gr
def greet(name):
return "Hello" + name + '!!'
iface = gr.Interface(
fn=greet,
inputs = gr.inputs.Textbox(lines=2, placeholder= 'λ‹Ήμ‹ μ˜ 글을 λ„£μ–΄λ³΄μ„Έμš”',
outputs = gr.outputs.Textbox(lines=10, placeholder = 'κΈ€ 속에 μžˆλŠ” λ¬΄μ˜μ‹μ„ μ°Ύμ•„λ“œλ¦½λ‹ˆλ‹€.')
iface.launch(share =True)