mirror of
https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI.git
synced 2026-03-05 21:33:12 +00:00
chore(format): run black on dev (#1763)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
3b2a1d081c
commit
35c83e88df
@@ -530,7 +530,10 @@ if __name__ == "__main__":
|
||||
self.gui_config.sg_hostapi = self.hostapis[0]
|
||||
self.window["sg_hostapi"].Update(values=self.hostapis)
|
||||
self.window["sg_hostapi"].Update(value=self.gui_config.sg_hostapi)
|
||||
if self.gui_config.sg_input_device not in self.input_devices and len(self.input_devices) > 0:
|
||||
if (
|
||||
self.gui_config.sg_input_device not in self.input_devices
|
||||
and len(self.input_devices) > 0
|
||||
):
|
||||
self.gui_config.sg_input_device = self.input_devices[0]
|
||||
self.window["sg_input_device"].Update(values=self.input_devices)
|
||||
self.window["sg_input_device"].Update(
|
||||
|
||||
Reference in New Issue
Block a user