Update app.py
Browse files
app.py
CHANGED
|
@@ -40,8 +40,8 @@ def generate_response(input_text, progress=gr.Progress()):
|
|
| 40 |
# Gradio μΈν°νμ΄μ€ μ€μ
|
| 41 |
iface = gr.Interface(
|
| 42 |
fn=generate_response,
|
| 43 |
-
inputs=gr.Textbox(lines=
|
| 44 |
-
outputs=Textbox(lines=10, label="κ°λ
κΈ°λ° νꡬνμ΅ μμ
κ³ν"),
|
| 45 |
title="κ°λ
κΈ°λ° νꡬ νμ΅ μ±λ΄",
|
| 46 |
description="νμ΅ μ£Όμ μ λν κ°λ
κΈ°λ° νꡬ νμ΅ μμ
κ³νμ μμ±ν©λλ€.",
|
| 47 |
examples=[
|
|
|
|
| 40 |
# Gradio μΈν°νμ΄μ€ μ€μ
|
| 41 |
iface = gr.Interface(
|
| 42 |
fn=generate_response,
|
| 43 |
+
inputs=gr.Textbox(lines=2, label="νμ΅ μ£Όμ μ
λ ₯"),
|
| 44 |
+
outputs=gr.Textbox(lines=10, label="κ°λ
κΈ°λ° νꡬνμ΅ μμ
κ³ν"),
|
| 45 |
title="κ°λ
κΈ°λ° νꡬ νμ΅ μ±λ΄",
|
| 46 |
description="νμ΅ μ£Όμ μ λν κ°λ
κΈ°λ° νꡬ νμ΅ μμ
κ³νμ μμ±ν©λλ€.",
|
| 47 |
examples=[
|