Optional argument "custom_dictionary" of synthesize function in tts-basics-customize-ssml.ipynb creates an error
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 45/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- jupyter-notebook, python
调研方向
打开 tts-basics-customize-ssml.ipynb,并运行不带 custom_dictionary、调用 riva_tts.synthesize(**req) 的请求。从产生的 AttributeError 入手,将其与文档中说明的可选参数行为进行比较。当省略 custom_dictionary 时 notebook 能够成功运行,且不需要使用变通方法 custom_dictionary={},即视为完成。
由索引模型根据 Issue 内容生成。
描述
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.
- 主要语言
- Jupyter Notebook
- 星标
- 175
- 派生
- 56
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
nvidia-riva/tutorials 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 55/100
nvidia-riva/tutorials#219 ·
-
难度 3/5 1-2 天 新手友好度 35/100
nvidia-riva/tutorials#217 ·
-
难度 4/5 3-5 天 新手友好度 45/100
nvidia-riva/tutorials#214 ·
-
难度 3/5 1-2 天 新手友好度 35/100
nvidia-riva/tutorials#210 ·
-
难度 4/5 3-5 天 新手友好度 25/100
nvidia-riva/tutorials#195 · 2 个 reaction ·
查看 nvidia-riva/tutorials 的全部 Issue
相似的 Issue
-
billion-context-pi
难度 2/5 1-3 小时 新手友好度 62/100
ranxianglei/billion-context#2521 · 3 条评论 ·
维护者通常 1 天内回复
-
agent-research agent-review-finding chore
难度 2/5 1-3 小时 新手友好度 66/100
jordansmall/spindrift#4922 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 78/100
维护者通常 1 天内回复
-
documentation v2
难度 2/5 1-3 小时 新手友好度 82/100
modelcontextprotocol/python-sdk#3662 ·
维护者通常 1 天内回复
-
docs(types): update the collection binding note now that typed collections shipped in pycubrid 1.9.0未关闭documentation priority: low size: S
难度 2/5 1-3 小时 新手友好度 75/100
cubrid-lab/sqlalchemy-cubrid#768 ·
维护者通常 1 天内回复