-
Notifications
You must be signed in to change notification settings - Fork 88
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
ERROR: Exception in ASGI application #57
Comments
I had a similar issue with both XTTS webui and XTTS webui finetuner. I managed to solve it for both of them, by going into xtts-webui\venv\Lib\site-packages\pydantic_internal and opening the _config.py file. In this file, I found arbitrary_types_allowed=False and changed it to arbitrary_types_allowed=True. |
I had the same issues and this resolved it with one small correction. The path to the file is: |
**EDITED TO IMPROVE RESPONSE AND DETAIL ** I lost an entire day going in circles trying to install the finetuning, and believe I've worked out why, hopefully this helps others.
the former was getting ASGI errors during install. the main difference i found on these forks were the "requirements.txt" - as soon as i realised this, i began trying all other forks that specified different requirement.txt. and pretty quickly stumbled on this - WORKING fork:
the "requirements.txt" - contained these:
(FYI - the pydantic versions this ends up with are "pydantic-2.9.2." and "pydantic_core-2.23.4" - but neither need to be included in the requirements.txt, at least they didnt for me) now, here's a CRUCIAL part no one seems to make clear. so, the steps should be:
so at this point, you should be able to:
you MIGHT still run into errors when trying to train the model....
i was getting this on an 8GB laptop 4060 RTX card, with 16GB of system RAM. the 2nd problem you might come across, especially if you had at least 1 x failed attempt to train before, is a "Permission denied" error when the XTTS wants to delete the "run" folder from the previous training.
delete that, then retry training your model. for your first run, you might want to keep:
once you've managed to finish your training, do the "optimize model" step to quantize it to a much more manageable size. |
I just installed XTTS-Finetune-Webui, but I can't use it because when I click the "Create Dataset" I get the error below.
Reinstalling it didn't help, and looking for previous similar issues didn't help either (the only issue I found that was just like mine was closed by the same user who opened it, saying he managed to get things running after restarting the PC, but that didn't work for me).
I also got the exact same issue when I installed the XTTS-Webui, but then I downloaded the XTTS-Webui's portable version and it worked normally.
I did run the following commands, as mentioned in a similar issue, but to no avail.
Here's the error log:
The text was updated successfully, but these errors were encountered: