Skip to content
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

Add Download Button #54

Closed

Conversation

david-wagih
Copy link

Why ?

when opening a (.tsv) file on Seamlisten, we can see all the audio alignments of that file, whether they are speech-to-speech alignment or speech-to-text, so we want to add a download button with each audio segment so that downloading the file locally is much easier.

How ?

created a React component that represents the download button that takes the audio file path and connects this button with an endpoint in the utils of the backend app which is responsible for returning the audio in wav format by taking this path as a parameter.

Test plan

run the front end along with the backend, and wirte the path of a tsv file on your machine and then when fetching the results you should see a download button beside each audio segment.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Aug 10, 2023
@david-wagih david-wagih closed this Sep 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants