Comments (11)
Hm I'll have to look
from auto-synced-translated-dubs.
Can you post the actual error message that comes up?
from auto-synced-translated-dubs.
I set tts_service = azure in cloud_service_settings.ini
I set azure_speech_key = 4633**********3a
I set skip_translation = True in config.ini
I set enabled_languages = 11 in cloud_service_settings.ini
The subtitles.srt (Chinese) and video.mp4 files are in the same directory as main.py
Then I run python main.py
It gives me the following message:
----- Beginning Processing of Languages -----
Traceback (most recent call last):
File "E:\Auto_Dubs-0.9.2\main.py", line 258, in
batchSettings = translate.set_translation_info(batchSettings)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\Auto_Dubs-0.9.2\translate.py", line 245, in set_translation_info
langSupportResponse = auth.DEEPL_API.get_target_languages()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Benjamin\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\deepl\translator.py", line 1141, in get_target_languages
self._raise_for_status(status, content, json)
File "C:\Users\Benjamin\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\deepl\translator.py", line 560, in _raise_for_status
raise AuthorizationException(
deepl.exceptions.AuthorizationException: Authorization failure, check auth_key
from auto-synced-translated-dubs.
Sorry:
I set enabled_languages = 11 in batch.ini
from auto-synced-translated-dubs.
Sorry: I set enabled_languages = 11 in batch.ini
You mean you got it working? Or are you still having the issue?
from auto-synced-translated-dubs.
I am still having the issue.
I set tts_service = azure in cloud_service_settings.ini
I set azure_speech_key = 4633**********3a
I set skip_translation = True in config.ini
I set enabled_languages = 11 in batch.ini
The subtitles.srt (Chinese) and video.mp4 files are in the same directory as main.py
Then I run python main.py
It gives me the following message:
----- Beginning Processing of Languages -----
Traceback (most recent call last):
File "E:\Auto_Dubs-0.9.2\main.py", line 258, in
batchSettings = translate.set_translation_info(batchSettings)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\Auto_Dubs-0.9.2\translate.py", line 245, in set_translation_info
langSupportResponse = auth.DEEPL_API.get_target_languages()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Benjamin\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\deepl\translator.py", line 1141, in get_target_languages
self._raise_for_status(status, content, json)
File "C:\Users\Benjamin\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\deepl\translator.py", line 560, in _raise_for_status
raise AuthorizationException(
deepl.exceptions.AuthorizationException: Authorization failure, check auth_key
from auto-synced-translated-dubs.
The line at the bottom describes the error, and it looks like it might be an issue with authorizing with the DeepL API. Do you have a DeepL account and API key?
from auto-synced-translated-dubs.
I have not a DeepL API key, and it is the reason that I don't want your project to translate subtitles. I just want your project to read out the subtitles, so I set skip_translation = true in config.ini file, but it still requires me to provide translate API. This is the issue.
from auto-synced-translated-dubs.
Ah ok yea that's an issue I'm aware of, I'll get around to fixing it at some point
from auto-synced-translated-dubs.
thank you very much. the deepL doesn't support credit card from China, so I am not able to apply a deepL API. I'm waiting you to make the project skip translation.
from auto-synced-translated-dubs.
Ok with the latest release 0.11.1, this should be fixed.
from auto-synced-translated-dubs.
Related Issues (20)
- Add bark for very good local multilingual TTS
- Failed to submit batch synthesis job HOT 1
- Combine characters does not work on pre-translated subtitles
- Created a google platform project but it is still returning an error HOT 1
- Please login using the browser window that opened just now. Error: Client secrets must be for a web or installed app. HOT 1
- ImportError: cannot import name 'parseBool' from partially initialized module 'Scripts.utils' (most likely due to a circular import) HOT 7
- Problem using the Batch processing (Azure) HOT 2
- Adding local workflow and TTS to software HOT 2
- Can we simplfy the install instructions on the front page? HOT 2
- Clone Voice? HOT 3
- MacOS support? HOT 5
- [Improvement] use costom Rvc models
- Facebook Research Seamless - a massive free multilingual machine translation model
- API for edgeTTS free dubbing mode HOT 1
- ElevenLabs Error 400 HOT 6
- Voice Overlap when generating TTS from Elevenlabs HOT 1
- Wrong version for soundfile in requirements.txt HOT 1
- Error azure tts HOT 4
- Support for .vtt subtitle files? HOT 2
- Voices not stretching when OpenAI models are used. HOT 5
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 auto-synced-translated-dubs.