-
Notifications
You must be signed in to change notification settings - Fork 943
Add Fireredtts2 notebook #3120
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
base: latest
Are you sure you want to change the base?
Add Fireredtts2 notebook #3120
Conversation
openvino-dev-samples
commented
Nov 14, 2025
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.
| ) | ||
|
|
||
|
|
||
| SYMBOLS_MAPPING = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can it be used imported from FireRedTTS2 repo ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it could, but I prefer to put everything for inference together, so user can build their demos with helper.py only.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 6 out of 7 changed files in this pull request and generated 5 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| "FireRedTTS2\examples\chat_prompt\en\S1.flac", | ||
| "[S1]I think we should just talk about what happened and move on because there's going to be other jousts and Sir Saif isn't done yet. It's not, he's not, it's not done yet.", | ||
| "examples\chat_prompt\en\S2.flac", | ||
| "[S2]You know, maybe sorry, maybe maybe I pushed, maybe I pushed too hard. I was really excited. I didn't mean to make you snap.", | ||
| "[S1]It's alright, we'll take a breath and plan the next pass together.[S2]Yeah, thanks. We'll get it right this time.[S1]Let's review our signals tonight so we're in sync on the field tomorrow.", | ||
| ], | ||
| [ | ||
| "中文", | ||
| "FireRedTTS2\examples\chat_prompt\zh\S1.flac", | ||
| "[S1]啊,可能说更适合美国市场应该是什么样子。那这这个可能说当然如果说有有机会能亲身的去考察去了解一下,那当然是有更好的帮助。", | ||
| "examples\chat_prompt\zh\S2.flac", |
Copilot
AI
Dec 2, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The file path uses backslashes which are Windows-specific. Use forward slashes or os.path.join() for cross-platform compatibility.
| "FireRedTTS2\examples\chat_prompt\en\S1.flac", | |
| "[S1]I think we should just talk about what happened and move on because there's going to be other jousts and Sir Saif isn't done yet. It's not, he's not, it's not done yet.", | |
| "examples\chat_prompt\en\S2.flac", | |
| "[S2]You know, maybe sorry, maybe maybe I pushed, maybe I pushed too hard. I was really excited. I didn't mean to make you snap.", | |
| "[S1]It's alright, we'll take a breath and plan the next pass together.[S2]Yeah, thanks. We'll get it right this time.[S1]Let's review our signals tonight so we're in sync on the field tomorrow.", | |
| ], | |
| [ | |
| "中文", | |
| "FireRedTTS2\examples\chat_prompt\zh\S1.flac", | |
| "[S1]啊,可能说更适合美国市场应该是什么样子。那这这个可能说当然如果说有有机会能亲身的去考察去了解一下,那当然是有更好的帮助。", | |
| "examples\chat_prompt\zh\S2.flac", | |
| "FireRedTTS2/examples/chat_prompt/en/S1.flac", | |
| "[S1]I think we should just talk about what happened and move on because there's going to be other jousts and Sir Saif isn't done yet. It's not, he's not, it's not done yet.", | |
| "examples/chat_prompt/en/S2.flac", | |
| "[S2]You know, maybe sorry, maybe maybe I pushed, maybe I pushed too hard. I was really excited. I didn't mean to make you snap.", | |
| "[S1]It's alright, we'll take a breath and plan the next pass together.[S2]Yeah, thanks. We'll get it right this time.[S1]Let's review our signals tonight so we're in sync on the field tomorrow.", | |
| ], | |
| [ | |
| "中文", | |
| "FireRedTTS2/examples/chat_prompt/zh/S1.flac", | |
| "[S1]啊,可能说更适合美国市场应该是什么样子。那这这个可能说当然如果说有有机会能亲身的去考察去了解一下,那当然是有更好的帮助。", | |
| "examples/chat_prompt/zh/S2.flac", |
| "FireRedTTS2\examples\chat_prompt\en\S1.flac", | ||
| "[S1]I think we should just talk about what happened and move on because there's going to be other jousts and Sir Saif isn't done yet. It's not, he's not, it's not done yet.", | ||
| "examples\chat_prompt\en\S2.flac", | ||
| "[S2]You know, maybe sorry, maybe maybe I pushed, maybe I pushed too hard. I was really excited. I didn't mean to make you snap.", | ||
| "[S1]It's alright, we'll take a breath and plan the next pass together.[S2]Yeah, thanks. We'll get it right this time.[S1]Let's review our signals tonight so we're in sync on the field tomorrow.", | ||
| ], | ||
| [ | ||
| "中文", | ||
| "FireRedTTS2\examples\chat_prompt\zh\S1.flac", | ||
| "[S1]啊,可能说更适合美国市场应该是什么样子。那这这个可能说当然如果说有有机会能亲身的去考察去了解一下,那当然是有更好的帮助。", | ||
| "examples\chat_prompt\zh\S2.flac", |
Copilot
AI
Dec 2, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The file path uses backslashes which are Windows-specific. Use forward slashes or os.path.join() for cross-platform compatibility.
| "FireRedTTS2\examples\chat_prompt\en\S1.flac", | |
| "[S1]I think we should just talk about what happened and move on because there's going to be other jousts and Sir Saif isn't done yet. It's not, he's not, it's not done yet.", | |
| "examples\chat_prompt\en\S2.flac", | |
| "[S2]You know, maybe sorry, maybe maybe I pushed, maybe I pushed too hard. I was really excited. I didn't mean to make you snap.", | |
| "[S1]It's alright, we'll take a breath and plan the next pass together.[S2]Yeah, thanks. We'll get it right this time.[S1]Let's review our signals tonight so we're in sync on the field tomorrow.", | |
| ], | |
| [ | |
| "中文", | |
| "FireRedTTS2\examples\chat_prompt\zh\S1.flac", | |
| "[S1]啊,可能说更适合美国市场应该是什么样子。那这这个可能说当然如果说有有机会能亲身的去考察去了解一下,那当然是有更好的帮助。", | |
| "examples\chat_prompt\zh\S2.flac", | |
| "FireRedTTS2/examples/chat_prompt/en/S1.flac", | |
| "[S1]I think we should just talk about what happened and move on because there's going to be other jousts and Sir Saif isn't done yet. It's not, he's not, it's not done yet.", | |
| "examples/chat_prompt/en/S2.flac", | |
| "[S2]You know, maybe sorry, maybe maybe I pushed, maybe I pushed too hard. I was really excited. I didn't mean to make you snap.", | |
| "[S1]It's alright, we'll take a breath and plan the next pass together.[S2]Yeah, thanks. We'll get it right this time.[S1]Let's review our signals tonight so we're in sync on the field tomorrow.", | |
| ], | |
| [ | |
| "中文", | |
| "FireRedTTS2/examples/chat_prompt/zh/S1.flac", | |
| "[S1]啊,可能说更适合美国市场应该是什么样子。那这这个可能说当然如果说有有机会能亲身的去考察去了解一下,那当然是有更好的帮助。", | |
| "examples/chat_prompt/zh/S2.flac", |
|
|
||
|
|
||
| examples = [ | ||
| [ | ||
| "English", | ||
| "FireRedTTS2\examples\chat_prompt\en\S1.flac", | ||
| "[S1]I think we should just talk about what happened and move on because there's going to be other jousts and Sir Saif isn't done yet. It's not, he's not, it's not done yet.", | ||
| "examples\chat_prompt\en\S2.flac", | ||
| "[S2]You know, maybe sorry, maybe maybe I pushed, maybe I pushed too hard. I was really excited. I didn't mean to make you snap.", | ||
| "[S1]It's alright, we'll take a breath and plan the next pass together.[S2]Yeah, thanks. We'll get it right this time.[S1]Let's review our signals tonight so we're in sync on the field tomorrow.", | ||
| ], | ||
| [ | ||
| "中文", | ||
| "FireRedTTS2\examples\chat_prompt\zh\S1.flac", | ||
| "[S1]啊,可能说更适合美国市场应该是什么样子。那这这个可能说当然如果说有有机会能亲身的去考察去了解一下,那当然是有更好的帮助。", | ||
| "examples\chat_prompt\zh\S2.flac", |
Copilot
AI
Dec 2, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The file path uses backslashes which are Windows-specific. Use forward slashes or os.path.join() for cross-platform compatibility.
| examples = [ | |
| [ | |
| "English", | |
| "FireRedTTS2\examples\chat_prompt\en\S1.flac", | |
| "[S1]I think we should just talk about what happened and move on because there's going to be other jousts and Sir Saif isn't done yet. It's not, he's not, it's not done yet.", | |
| "examples\chat_prompt\en\S2.flac", | |
| "[S2]You know, maybe sorry, maybe maybe I pushed, maybe I pushed too hard. I was really excited. I didn't mean to make you snap.", | |
| "[S1]It's alright, we'll take a breath and plan the next pass together.[S2]Yeah, thanks. We'll get it right this time.[S1]Let's review our signals tonight so we're in sync on the field tomorrow.", | |
| ], | |
| [ | |
| "中文", | |
| "FireRedTTS2\examples\chat_prompt\zh\S1.flac", | |
| "[S1]啊,可能说更适合美国市场应该是什么样子。那这这个可能说当然如果说有有机会能亲身的去考察去了解一下,那当然是有更好的帮助。", | |
| "examples\chat_prompt\zh\S2.flac", | |
| import os | |
| examples = [ | |
| [ | |
| "English", | |
| os.path.join("FireRedTTS2", "examples", "chat_prompt", "en", "S1.flac"), | |
| "[S1]I think we should just talk about what happened and move on because there's going to be other jousts and Sir Saif isn't done yet. It's not, he's not, it's not done yet.", | |
| os.path.join("examples", "chat_prompt", "en", "S2.flac"), | |
| "[S2]You know, maybe sorry, maybe maybe I pushed, maybe I pushed too hard. I was really excited. I didn't mean to make you snap.", | |
| "[S1]It's alright, we'll take a breath and plan the next pass together.[S2]Yeah, thanks. We'll get it right this time.[S1]Let's review our signals tonight so we're in sync on the field tomorrow.", | |
| ], | |
| [ | |
| "中文", | |
| os.path.join("FireRedTTS2", "examples", "chat_prompt", "zh", "S1.flac"), | |
| "[S1]啊,可能说更适合美国市场应该是什么样子。那这这个可能说当然如果说有有机会能亲身的去考察去了解一下,那当然是有更好的帮助。", | |
| os.path.join("examples", "chat_prompt", "zh", "S2.flac"), |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>