nvidia-riva / nvidia-riva/tutorials
Optional argument "custom_dictionary" of synthesize function in tts-basics-customize-ssml.ipynb creates an error
Nobody has claimed this yet.
- Dominant language
- Jupyter Notebook
- Stars
- 175
- Forks
- 56
- PR merge metrics
- No merged PRs in 30d
Description
While running tts-basics-customize-ssml.ipynb, there is an error that is thrown when calling riva_tts.synthesize(**req).
The error is the following: AttributeError: 'NoneType' object has no attribute 'items' . It refers here to the "custom_dictionary" attribute which is defined as optional.
A workaround is adding custom_dictionary={} to the request but it's not a solution.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open tts-basics-customize-ssml.ipynb and run the request that calls riva_tts.synthesize(**req) without custom_dictionary. Start from the resulting AttributeError and compare it with the documented optional argument behavior. Done means the notebook runs successfully when custom_dictionary is omitted, without requiring the workaround custom_dictionary={}.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- jupyter-notebook, python
- Domain
- documentation
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100