Skip to content
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.

Error on line43 for translation #47

Open
ericguan8 opened this issue Mar 12, 2022 · 0 comments
Open

Error on line43 for translation #47

ericguan8 opened this issue Mar 12, 2022 · 0 comments

Comments

@ericguan8
Copy link

Got the error below when trying to run the translation command (python translate.py --src_lang python --tgt_lang java --model_path model_1.pth < count_ten.py). Please advise what causes it and how to fix it?

File "translate.py", line 43
help=f"Source language, should be either {', '.join(SUPPORTED_LANGUAGES[:-1])} or {SUPPORTED_LANGUAGES[-1]}")
^
SyntaxError: invalid syntax

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

No branches or pull requests

1 participant