Sort and uniq temperatures

This commit is contained in:
Yuta Hayashibe 2022-09-24 13:57:11 +09:00
parent 39fea0b447
commit ec016f15b2

View file

@ -114,6 +114,7 @@ def main() -> None:
opts.beam_size = None
if len(opts.temperature) == 0:
opts.temperature = [0.0, 0.2, 0.4, 0.6, 0.8, 1.0]
opts.temperature = sorted(set(opts.temperature))
try:
opts.mic = int(opts.mic)