diff-svc-GUI icon indicating copy to clipboard operation
diff-svc-GUI copied to clipboard

ValueError: could not convert string to float: ''

Open radombb opened this issue 3 years ago • 1 comments

Exception in Tkinter callback Traceback (most recent call last): File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\tkinter_init_.py", line 1921, in call return self.func(*args) File "D:\diff-svc\DIFFSVCGUI.py", line 255, in self.start_rendering = ttk.Button(self.TNotebook1_t3, command=lambda: render(self, file_path, svc_model)) File "D:\diff-svc\DIFFSVCGUI.py", line 65, in render formant_shift_ratio = float(formant_shift_ratio_str) ValueError: could not convert string to float: ''

whlie rendering this error message show up in the last,the converted audio still show up though.The audio sounds legit ,not sure whether this error affect the result.

radombb avatar Jan 11 '23 14:01 radombb

Seems like you wanted to use the gender flag, gender flag works like this: 1.0 is default 1.05 is g+5 for a more female tone 0.95 is g-5 for a more male tone

Kangarroar avatar Jan 16 '23 10:01 Kangarroar