mirror of
https://github.com/shirayu/whispering.git
synced 2025-02-16 18:45:14 +00:00
Sort and uniq temperatures
This commit is contained in:
parent
39fea0b447
commit
ec016f15b2
1 changed files with 1 additions and 0 deletions
|
@ -114,6 +114,7 @@ def main() -> None:
|
||||||
opts.beam_size = None
|
opts.beam_size = None
|
||||||
if len(opts.temperature) == 0:
|
if len(opts.temperature) == 0:
|
||||||
opts.temperature = [0.0, 0.2, 0.4, 0.6, 0.8, 1.0]
|
opts.temperature = [0.0, 0.2, 0.4, 0.6, 0.8, 1.0]
|
||||||
|
opts.temperature = sorted(set(opts.temperature))
|
||||||
|
|
||||||
try:
|
try:
|
||||||
opts.mic = int(opts.mic)
|
opts.mic = int(opts.mic)
|
||||||
|
|
Loading…
Reference in a new issue