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