Comments (2)
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:
- use the same default region code as the Bing and Google classes when initializing TranslatorsServer as a constructor option;
- add an API on TranslatorsServer to specify the region to use, allowing callers (such as this project) to set the region when needed (doing this would update the region on the Bing and Google classes) -- e.g. deferring the request to the first time a translation is performed;
- or better yet, have a flag to enable region computation and compute the region when first trying to call the Bing or Google translation service.
from xtts-webui.
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
from xtts-webui.
Related Issues (20)
- cant train not on collab and not locally anymore HOT 1
- Error when starting xtts-webui
- Not working with Hindi language HOT 6
- Can we finetune with a multi speaker dataset but the same language?
- Suggestion: Change file open method in generation.py (text2speech)
- suggestion SRT output
- Cant run xtts webui HOT 10
- TypeError: unsupported operand type(s) for |: 'type' and 'NoneType' HOT 1
- This is new...
- Hindi language broekn
- Hindi Doesn't Work. HOT 2
- prevent AI from reading the point of the text
- UnboundLocalError: local variable 'ref_voice_opvoice_path' referenced before assignment HOT 1
- Colab needs a code update. HOT 1
- Portable version runtime error: Library cublas64_12.dll is not found or cannot be loaded HOT 2
- Train tab HOT 3
- A problem during manual installation (highlighted bold) (last two steps) Please, help!
- UnicodeDecodeError:** 'utf-8' codec can't decode byte 0xd2 in position 9: invalid continuation byte in METADATA file at path: d:\xtts\xtts-webui\venv\lib\site-packages\mpmath-1.3.0.dist-info\METADATAAfter updating pip, on the last stage of manual installation has the next problem:
- UnicodeDecodeError:** 'utf-8' codec can't decode byte 0xd2 in position 9: invalid continuation byte in METADATA file at path: d:\xtts\xtts-webui\venv\lib\site-packages\mpmath-1.3.0.dist-info\METADATA After updating pip, on the last stage of manual installation has the next problem:
- Lacks in installation info
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xtts-webui.