Spaces:
Sleeping
Sleeping
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) |