Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
radombb opened this issue Jan 11, 2023 · 1 comment
Open

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

radombb opened this issue Jan 11, 2023 · 1 comment

Comments

@radombb
Copy link

radombb commented Jan 11, 2023

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
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants