Closed Taluen79 closed 8 months ago
Hi @Taluen79
Are you connected to it via its IP address e.g. http://127.0.0.1:7851/static/tts_chunk_player.html etc.... (link is within the built in documentation).
and assuming you are, could you press F12 to bring up the developer console of your web broswer
Let me know if there are any error messages within there?
Thanks
Thanks for looking into this. Indeed there was some error message in the console output. In the screenshot below, the first message seems to already exist before I pushed the button. The second error referred to as the Uncaught ReferenceError poped up when I click on the "Export Wav" button.
Really dig the TTS Generator. It's intuitive to use and not as cluttered and convoluted as many other webui I have seen. It makes the managing of all the generated sentences much easier.
@Taluen79 Could I check are you one the most recent build? There was an issue with mime types in the past, but I pushed an explicit exclusion in the web server of AllTalk, so it shouldnt be occurring.
The mime type will cause the 2nd issue to occur.
If you let me know what OS you are on, Ill pull the latest build to that OS, check my browsers are up to date and give it a test.
Thanks
@erew123
I'm on Windows and just did a git pull. Then I ran a git one-liner and it gave me this output:
If it somehow works when you test it, please let me know which browser you are using.
Thanks!
Hi @Taluen79
I've downloaded a full fresh copy onto Windows 11 and tried with both Brave (chrome) and Microsoft Edge. Both worked fine for me e.g.
The Mime type allowance is set by the tts_server.py
file, so you may want to try downloading the current one, over the top of your tts_server.py
just to make sure that theres nothing strange going on there. So you would go to this link https://github.com/erew123/alltalk_tts/blob/main/tts_server.py and click the download button, saving it over the top of your current tts_server.py
file. (Restart AllTalk of course).
If its still not working at that, it suggests to me that you may have some Antivirus software or similar that may be filtering the mime types out e.g. Malwarebytes, BitDefender etc. Mainly because the issue followed across browsers, hence its not browser specific, its either specific to the tts_server.py
not being up to date somehow OR its system specific in some way. If you have something other than Windows Defender, you could try temporarily disabling its Web protection for a few minutes to give it a go.
Thanks
Hi @erew123 !
That's so weird. I just did a clean git clone on another Windows box and got the same behavior. The only antivirus I ever use is my judgement. So there must be something else at work here. If it works for you and no one else is experiencing this issue, I will try my luck and dig into this when I have the time. You can close the issue. Thanks anyway!
Hi @Taluen79
Just for my own sanity, I setup a new Windows 11 virtual machine and followed through with the "Quick Setup - Standalone Installation" https://github.com/erew123/alltalk_tts?tab=readme-ov-file#-quick-setup-text-generation-webui--standalone-installation as per this video https://www.youtube.com/watch?v=AQYCccDRbaY
I've also double checked on Linux. Neither installation had an issue and both worked fine.
I also double checked that no current downloadable versions of the tts_server.py file is missing anything or could be a different/older version. They all carry the following:
This setting basically says that all Mime types and Javascript is allowed to be served by the AllTalk webserver and the browser should honour that request. So your browser console showing "Strict MIME type checking is enforced for module" suggests that something has gotten into to the middle of the request and filtered it, such as an Antivirus, Proxy, Extension, Firewall, or maybe Javascript is disabled in your web browsers.
At the point of clicking the Export Wav, the webserver is trying to load "crunker" which is a Javascript bit of code that will be used to combine the files. Because the mime type isnt allowed, it cannot pull down/run that Javascript within your browser, hence the failure.
All I can say for sure is that the code is working correctly and best I can diagnose, its something linked back to the setup on your system(s). Ill close the ticket for now and you're welcome to get back to me if you need.
Thanks
Hi guys, was this solved? i just downloaded both version i.e 1.9 and 2(beta) and i have the same issue. im on windows10 with vivaldi but i tried also with chrome i disabled my AV and ad blocker but stil no good
The button on the TTS generator that supposes to combine all the audio chunks into one single .wav file does not seems to work. I have tried to test it on multiple different browsers (Firefox, Brave, Edge) but nothing seems to happen when clicking on it, once I have generated a few sententeces and just want to combine them together.
Great work by the way! Especially the documentation which is always the trickiest to cover everything without becoming outdated fast.