Skip to content
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

Add arguments #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

prasenjit
Copy link

This commit adds the functionality of passing filename and
language as arguments. E.g.:
python subtitles.py --filename subtitle-file --languages fr,hi,az,bs

This commit adds the functionality of passing filename and
language as arguments.  E.g.:
python subtitles.py --filename subtitle-file --languages fr,hi,az,bs
@abhimanyuthakre
Copy link
Owner

Hello @prasenjit ! Nice idea. But the code will not work if the user wants to translate to every language available. Rest, working good. You can remove the hardcoded portion and keep the one you introduced to make the script dynamic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants