mirror of
https://github.com/shirayu/whispering.git
synced 2025-03-28 04:55:28 +00:00
Fix CI
This commit is contained in:
parent
7cdecf8deb
commit
9ae00e79a3
1 changed files with 2 additions and 2 deletions
|
@ -142,10 +142,10 @@ def get_wshiper(*, opts):
|
|||
def main() -> None:
|
||||
opts = get_opts()
|
||||
|
||||
if(opts.show_devices) :
|
||||
if opts.show_devices:
|
||||
devices = sd.query_devices()
|
||||
for i, device in enumerate(devices):
|
||||
if(device["max_input_channels"] > 0) :
|
||||
if device["max_input_channels"] > 0:
|
||||
print(f"{i}: {device['name']}")
|
||||
|
||||
return
|
||||
|
|
Loading…
Reference in a new issue