Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -109,7 +109,7 @@ with gr.Blocks(css=CSS, theme="soft") as demo:
|
|
109 |
minimum=0,
|
110 |
maximum=1,
|
111 |
step=0.1,
|
112 |
-
value=
|
113 |
label="Temperature",
|
114 |
render=False,
|
115 |
),
|
@@ -131,9 +131,9 @@ with gr.Blocks(css=CSS, theme="soft") as demo:
|
|
131 |
),
|
132 |
gr.Slider(
|
133 |
minimum=1,
|
134 |
-
maximum=
|
135 |
step=1,
|
136 |
-
value=
|
137 |
label="top_k",
|
138 |
render=False,
|
139 |
),
|
@@ -141,7 +141,7 @@ with gr.Blocks(css=CSS, theme="soft") as demo:
|
|
141 |
minimum=0.0,
|
142 |
maximum=2.0,
|
143 |
step=0.1,
|
144 |
-
value=1.
|
145 |
label="Repetition penalty",
|
146 |
render=False,
|
147 |
),
|
|
|
109 |
minimum=0,
|
110 |
maximum=1,
|
111 |
step=0.1,
|
112 |
+
value=1,
|
113 |
label="Temperature",
|
114 |
render=False,
|
115 |
),
|
|
|
131 |
),
|
132 |
gr.Slider(
|
133 |
minimum=1,
|
134 |
+
maximum=50,
|
135 |
step=1,
|
136 |
+
value=50,
|
137 |
label="top_k",
|
138 |
render=False,
|
139 |
),
|
|
|
141 |
minimum=0.0,
|
142 |
maximum=2.0,
|
143 |
step=0.1,
|
144 |
+
value=1.0,
|
145 |
label="Repetition penalty",
|
146 |
render=False,
|
147 |
),
|