Spaces:
Sleeping
Sleeping
| import gradio as gr | |
| def answer_question(question): | |
| # μ¬κΈ°μ μ§λ¬Έμ λν λ΅λ³ λ‘μ§μ ꡬνν©λλ€. | |
| # μμλ‘ κ°λ¨ν λ΅λ³μ λ°νν©λλ€. | |
| return f"λͺ°λΌμ" | |
| demo = gr.Interface( | |
| fn = answer_question, | |
| inputs = "text", | |
| outputs = "text", | |
| title="무μμ΄λ λ¬Όμ΄λ³΄μ, λ΄κ° μλ?", | |
| description="μ§λ¬Έμ μ λ ₯νλ©΄ λ΅λ³μ μ 곡ν κ² κ°λ? <b>span style=\"color:red,\">γ γ γ </span></b>", | |
| examples=[ | |
| ["μ€λ λ μ¨ μ΄λ?"], | |
| ["μΈκ³΅μ§λ₯μ΄ λμΌ?"], | |
| ["νμ΄μ¬μ μ΄λ μΈμ΄μΌ?"], | |
| ["κ·Έλ₯ μ무거λ λ¬Όμ΄λ΄"] | |
| ] | |
| ) | |
| demo.launch(share=True) |