daswer123 / xtts-webui

Webui for using XTTS and for finetuning it
MIT License
596 stars 113 forks source link

Can't run this without internet because it tries to connect to "geolocation.onetrust.com". #44

Open Atoli opened 8 months ago

Atoli commented 8 months ago

Tried to run this without internet after installing and infering.

Got this error:

xttsWTF

It tries to connect to this website and many others. This...is pretty shady, to be honest. Why exactly is it contacting a geolocation site and others in order to run?

Can i run this TRULY locally, without any kind of contact to other websites?

rhdunn commented 8 months ago

This is coming from https://github.com/UlionTse/translators/blob/c20c815ffe0ed75c551eef37d86055d8a8e435c7/translators/server.py#L303.

It is used by TranslatorsServer to initialize the Bing and Google translation service classes. That object is created and assigned to a global variable in that package.

This seems to be a way to handle cookie consent banners from servers in the EU. I.e. Google and Bing are checking where the server is (i.e. using the IP address) and showing a cookie consent banner unless that has been authorised.

Ideally, that project should:

SyzGuru commented 6 months ago

I have the same problem I think it would need just some error handling when checking the translators connections. Im no programmer specialist, but some kind of "on error resume" would do for using all this in offline mode. (Í hope they dont kick me out of github for this comment)

but the file is a compiled one, and i have no clue how to do

IVIaV commented 3 weeks ago

I have discovered some other connections that are strange... see here: https://github.com/daswer123/xtts-webui/issues/101 Do you know for what they are used?