Kangarroar / diff-svc-GUI

Extension program for DIFF-SVC to make it more easy to use
GNU Affero General Public License v3.0
17 stars 5 forks source link

ValueError: could not convert string to float: '' #3

Open radombb opened 1 year ago

radombb commented 1 year ago

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.

Kangarroar commented 1 year ago

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