Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -134,23 +134,22 @@ with gr.Blocks(css=CSS) as demo:
|
|
134 |
label="Max Length",
|
135 |
render=False,
|
136 |
),
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
),
|
154 |
gr.Slider(
|
155 |
minimum=0.0,
|
156 |
maximum=2.0,
|
|
|
134 |
label="Max Length",
|
135 |
render=False,
|
136 |
),
|
137 |
+
gr.Slider(
|
138 |
+
minimum=0.0,
|
139 |
+
maximum=1.0,
|
140 |
+
step=0.1,
|
141 |
+
value=1.0,
|
142 |
+
label="top_p",
|
143 |
+
render=False,
|
144 |
+
),
|
145 |
+
gr.Slider(
|
146 |
+
minimum=1,
|
147 |
+
maximum=20,
|
148 |
+
step=1,
|
149 |
+
value=10,
|
150 |
+
label="top_k",
|
151 |
+
render=False,
|
152 |
+
),
|
|
|
153 |
gr.Slider(
|
154 |
minimum=0.0,
|
155 |
maximum=2.0,
|