mirror of
https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI.git
synced 2025-12-22 22:50:06 +01:00
Add files via upload
This commit is contained in:
4
gui.py
4
gui.py
@@ -584,10 +584,10 @@ class GUI:
|
||||
if d["max_output_channels"] > 0
|
||||
]
|
||||
input_devices_indices = [
|
||||
d["index"] for d in devices if d["max_input_channels"] > 0
|
||||
d["index"] if "index" in d else d["name"] for d in devices if d["max_input_channels"] > 0
|
||||
]
|
||||
output_devices_indices = [
|
||||
d["index"] for d in devices if d["max_output_channels"] > 0
|
||||
d["index"] if "index" in d else d["name"] for d in devices if d["max_output_channels"] > 0
|
||||
]
|
||||
return (
|
||||
input_devices,
|
||||
|
||||
Reference in New Issue
Block a user