Spaces:
Running
on
Zero
Running
on
Zero
fix
Browse files
app.py
CHANGED
@@ -267,14 +267,14 @@ with gr.Blocks(css=css) as demo:
|
|
267 |
temperature = gr.Slider(
|
268 |
label="Temperature (Randomness)",
|
269 |
minimum=1.0,
|
270 |
-
maximum=
|
271 |
-
value=1.
|
272 |
step=0.05,
|
273 |
info="Lower values make the output more deterministic, higher values increase randomness.",
|
274 |
)
|
275 |
top_p = gr.Slider(
|
276 |
label="Top P (Nucleus Sampling)",
|
277 |
-
minimum=0.
|
278 |
maximum=1.0,
|
279 |
value=0.95, # Default from inference.py
|
280 |
step=0.01,
|
@@ -283,8 +283,8 @@ with gr.Blocks(css=css) as demo:
|
|
283 |
cfg_filter_top_k = gr.Slider(
|
284 |
label="CFG Filter Top K",
|
285 |
minimum=15,
|
286 |
-
maximum=
|
287 |
-
value=
|
288 |
step=1,
|
289 |
info="Top k filter for CFG guidance.",
|
290 |
)
|
@@ -292,7 +292,7 @@ with gr.Blocks(css=css) as demo:
|
|
292 |
label="Speed Factor",
|
293 |
minimum=0.8,
|
294 |
maximum=1.0,
|
295 |
-
value=0
|
296 |
step=0.02,
|
297 |
info="Adjusts the speed of the generated audio (1.0 = original speed).",
|
298 |
)
|
@@ -331,20 +331,20 @@ with gr.Blocks(css=css) as demo:
|
|
331 |
None,
|
332 |
3072,
|
333 |
3.0,
|
334 |
-
1.
|
335 |
0.95,
|
336 |
-
|
337 |
-
0
|
338 |
],
|
339 |
[
|
340 |
"[S1] Open weights text to dialogue model. \n[S2] You get full control over scripts and voices. \n[S1] I'm biased, but I think we clearly won. \n[S2] Hard to disagree. (laughs) \n[S1] Thanks for listening to this demo. \n[S2] Try it now on Git hub and Hugging Face. \n[S1] If you liked our model, please give us a star and share to your friends. \n[S2] This was Nari Labs.",
|
341 |
example_prompt_path if Path(example_prompt_path).exists() else None,
|
342 |
3072,
|
343 |
3.0,
|
344 |
-
1.
|
345 |
0.95,
|
346 |
-
|
347 |
-
0
|
348 |
],
|
349 |
]
|
350 |
|
|
|
267 |
temperature = gr.Slider(
|
268 |
label="Temperature (Randomness)",
|
269 |
minimum=1.0,
|
270 |
+
maximum=2.5,
|
271 |
+
value=1.8, # Default from inference.py
|
272 |
step=0.05,
|
273 |
info="Lower values make the output more deterministic, higher values increase randomness.",
|
274 |
)
|
275 |
top_p = gr.Slider(
|
276 |
label="Top P (Nucleus Sampling)",
|
277 |
+
minimum=0.70,
|
278 |
maximum=1.0,
|
279 |
value=0.95, # Default from inference.py
|
280 |
step=0.01,
|
|
|
283 |
cfg_filter_top_k = gr.Slider(
|
284 |
label="CFG Filter Top K",
|
285 |
minimum=15,
|
286 |
+
maximum=100,
|
287 |
+
value=45,
|
288 |
step=1,
|
289 |
info="Top k filter for CFG guidance.",
|
290 |
)
|
|
|
292 |
label="Speed Factor",
|
293 |
minimum=0.8,
|
294 |
maximum=1.0,
|
295 |
+
value=1.0,
|
296 |
step=0.02,
|
297 |
info="Adjusts the speed of the generated audio (1.0 = original speed).",
|
298 |
)
|
|
|
331 |
None,
|
332 |
3072,
|
333 |
3.0,
|
334 |
+
1.8,
|
335 |
0.95,
|
336 |
+
45,
|
337 |
+
1.0,
|
338 |
],
|
339 |
[
|
340 |
"[S1] Open weights text to dialogue model. \n[S2] You get full control over scripts and voices. \n[S1] I'm biased, but I think we clearly won. \n[S2] Hard to disagree. (laughs) \n[S1] Thanks for listening to this demo. \n[S2] Try it now on Git hub and Hugging Face. \n[S1] If you liked our model, please give us a star and share to your friends. \n[S2] This was Nari Labs.",
|
341 |
example_prompt_path if Path(example_prompt_path).exists() else None,
|
342 |
3072,
|
343 |
3.0,
|
344 |
+
1.8,
|
345 |
0.95,
|
346 |
+
45,
|
347 |
+
1.0,
|
348 |
],
|
349 |
]
|
350 |
|