mirror of
https://github.com/shirayu/whispering.git
synced 2025-04-26 18:44:42 +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:
|
def main() -> None:
|
||||||
opts = get_opts()
|
opts = get_opts()
|
||||||
|
|
||||||
if(opts.show_devices) :
|
if opts.show_devices:
|
||||||
devices = sd.query_devices()
|
devices = sd.query_devices()
|
||||||
for i, device in enumerate(devices):
|
for i, device in enumerate(devices):
|
||||||
if(device["max_input_channels"] > 0) :
|
if device["max_input_channels"] > 0:
|
||||||
print(f"{i}: {device['name']}")
|
print(f"{i}: {device['name']}")
|
||||||
|
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue