nvidia-riva / nvidia-riva/tutorials

Optional argument "custom_dictionary" of synthesize function in tts-basics-customize-ssml.ipynb creates an error

Open
#202 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.