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

transliterator error on running " ./download_data.sh SUBSCRIPTION_KEY" due to error in response from the specified url #48

Closed
BarahFazili opened this issue Apr 17, 2021 · 1 comment

Comments

@BarahFazili
Copy link

Traceback (most recent call last):
  File "transliterator.py", line 88, in <module>
    main()
  File "transliterator.py", line 79, in main
    trans = get_transliteration(vocab, headers)
  File "transliterator.py", line 38, in get_transliteration
    trans.update({body[j]['text']:i['text']})
TypeError: string indices must be integers
@BarahFazili BarahFazili changed the title getting this error on running " ./download_data.sh SUBSCRIPTION_KEY" transliterator error on running " ./download_data.sh SUBSCRIPTION_KEY" Apr 17, 2021
@BarahFazili BarahFazili changed the title transliterator error on running " ./download_data.sh SUBSCRIPTION_KEY" transliterator error on running " ./download_data.sh SUBSCRIPTION_KEY" due to error in response from the specified url Apr 17, 2021
@BarahFazili
Copy link
Author

was due to invalid subscription key.

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

No branches or pull requests

1 participant