Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -48,7 +48,7 @@ def chat(x):
|
|
| 48 |
x,# str representing input in 'User input' Textbox component
|
| 49 |
0.91, # float, representing input in 'Top-p (nucleus sampling)' Slider component
|
| 50 |
30, # int, representing input in 'Top-k (nucleus sampling)' Slider component
|
| 51 |
-
0.
|
| 52 |
25, # int, representing input in 'Max New Tokens' Slider component
|
| 53 |
1.08, # float, representing input in 'repetition_penalty' Slider component
|
| 54 |
fn_index=0
|
|
@@ -75,7 +75,7 @@ with gr.Blocks() as demo:
|
|
| 75 |
inputs="text",
|
| 76 |
outputs="text",
|
| 77 |
description="chat",
|
| 78 |
-
examples= [[f"
|
| 79 |
)
|
| 80 |
|
| 81 |
bb = gr.Interface(
|
|
|
|
| 48 |
x,# str representing input in 'User input' Textbox component
|
| 49 |
0.91, # float, representing input in 'Top-p (nucleus sampling)' Slider component
|
| 50 |
30, # int, representing input in 'Top-k (nucleus sampling)' Slider component
|
| 51 |
+
0.8, # float, representing input in 'Temperature' Slider component
|
| 52 |
25, # int, representing input in 'Max New Tokens' Slider component
|
| 53 |
1.08, # float, representing input in 'repetition_penalty' Slider component
|
| 54 |
fn_index=0
|
|
|
|
| 75 |
inputs="text",
|
| 76 |
outputs="text",
|
| 77 |
description="chat",
|
| 78 |
+
examples= [[f"friend: λλ κΏμ΄ λμΌ? \nyou: "],[f"you: λλ λ¬΄μ¨ μμ κ°μ₯ μ’μν΄? \nfriend: κΈμ λλ? \nyou: "]]
|
| 79 |
)
|
| 80 |
|
| 81 |
bb = gr.Interface(
|