Update app.py
Browse files
app.py
CHANGED
@@ -64,9 +64,8 @@ def respond(
|
|
64 |
demo = gr.Interface(
|
65 |
fn=respond,
|
66 |
inputs=[
|
67 |
-
gr.Textbox(lines=2, placeholder="λ©μμ§λ₯Ό μ
λ ₯νμΈμ..."),
|
68 |
-
gr.
|
69 |
-
gr.Textbox(lines=2, placeholder="μμ€ν
λ©μμ§λ₯Ό μ
λ ₯νμΈμ..."),
|
70 |
gr.Slider(minimum=1, maximum=128000, value=100, step=1, label="Max new tokens"),
|
71 |
gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
|
72 |
gr.Slider(minimum=0.1, maximum=1.0, value=0.95, step=0.05, label="Top-p (nucleus sampling)"),
|
@@ -78,7 +77,7 @@ demo = gr.Interface(
|
|
78 |
examples=[
|
79 |
["λ°λμ νκΈλ‘ λ΅λ³νλΌ"],
|
80 |
["μμ΄μ¬λλμ μλλ μ΄λμ§?"],
|
81 |
-
["
|
82 |
["κ³μ μ΄μ΄μ λ΅λ³νλΌ"],
|
83 |
],
|
84 |
cache_examples=False # μΊμ± λΉνμ±ν μ€μ
|
|
|
64 |
demo = gr.Interface(
|
65 |
fn=respond,
|
66 |
inputs=[
|
67 |
+
gr.Textbox(lines=2, placeholder="λ©μμ§λ₯Ό μ
λ ₯νμΈμ...", label="μ
λ ₯ λ©μμ§"),
|
68 |
+
gr.Textbox(lines=2, placeholder="μμ€ν
λ©μμ§λ₯Ό μ
λ ₯νμΈμ...", label="μμ€ν
λ©μμ§"),
|
|
|
69 |
gr.Slider(minimum=1, maximum=128000, value=100, step=1, label="Max new tokens"),
|
70 |
gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
|
71 |
gr.Slider(minimum=0.1, maximum=1.0, value=0.95, step=0.05, label="Top-p (nucleus sampling)"),
|
|
|
77 |
examples=[
|
78 |
["λ°λμ νκΈλ‘ λ΅λ³νλΌ"],
|
79 |
["μμ΄μ¬λλμ μλλ μ΄λμ§?"],
|
80 |
+
["ν₯λ―Έλ‘μ΄ μ£Όμ λ₯Ό μλ €μ€"],
|
81 |
["κ³μ μ΄μ΄μ λ΅λ³νλΌ"],
|
82 |
],
|
83 |
cache_examples=False # μΊμ± λΉνμ±ν μ€μ
|