buttercrab commited on
Commit
b9c8c2a
·
unverified ·
1 Parent(s): 2f3df6a
Files changed (1) hide show
  1. app.py +12 -12
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=1.5,
271
- value=1.3, # 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.80,
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=50,
287
- value=30,
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.94,
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.3,
335
  0.95,
336
- 35,
337
- 0.94,
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.3,
345
  0.95,
346
- 35,
347
- 0.94,
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