File size: 520 Bytes
7afbafb | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | import gradio as gr
def analyze(text):
response = f"γμλμ λΆμγ\nμ΄ λ¬Έμ₯ μμλ λΆμ°λ κ°μ μ ννΈμ΄ μ¨μ΄ μμ΅λλ€.\nλΉμ μ μ΄ λ§μ ν΅ν΄ 무μμ ννΌνκ³ μμλμ?"
return response
iface = gr.Interface(
fn=analyze,
inputs="textbox",
outputs="text",
title="μλ: μ¬μ ν΄μ μΈν°νμ΄μ€",
description="κ°μ κ³Ό μΈμ΄μ 리λ¬μ ν΄μ²΄νλ λΉμ μ μ‘°λ ₯μ, μλμ
λλ€. λ¬Έμ₯μ μ
λ ₯ν΄ μ£ΌμΈμ."
)
iface.launch()
|