Can't transcribe local audio file and got error message. #132
-
C:\Users\Administrator>python deepgram_test.py futrelife.mp3 During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
@wuzimi Can you provide the code you used when running this? Did you copy the code from the console and run it or did you make modifications? |
Beta Was this translation helpful? Give feedback.
Hey @acerock6! The issue is that you're specifying an invalid model.
enhanced
is one of our tiers, and it has models likegeneral
andphonecall
associated with it. So you could say"model": "general", "tier": "enhanced"
.However, the
en-IN
language is not available for theenhanced
tier. It is available on ourbase
ornova
tiers. A working set of options would be:options = { "punctuate": True, "model": "general", "tier": "nova", "language": "en-IN" }
Check out our documentation for Language and Tier to learn more.