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

Bug Fix: Parsing Argument --finetune always True #676

Merged
merged 6 commits into from
Dec 29, 2024

Conversation

hndrbrm
Copy link
Contributor

@hndrbrm hndrbrm commented Dec 28, 2024

I use f5-tts_finetune-gradio and found out that the finetune checkbox will always send finetune=true to the argument, eventhought the checkbox are off.

After some investigation turns out using type=bool on ArgumentParser always return true because in python:
bool("False") are True.

@SWivid
Copy link
Owner

SWivid commented Dec 28, 2024

@hndrbrm seems bugs in first commit

feel free to test if works, if so will merge
thanks again~

@SWivid SWivid merged commit dc2d2d3 into SWivid:main Dec 29, 2024
1 check passed
@hndrbrm
Copy link
Contributor Author

hndrbrm commented Dec 30, 2024

Its working, thanks.

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

Successfully merging this pull request may close these issues.

2 participants