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

Escape quotes in csv output #815

Merged
merged 1 commit into from Apr 23, 2023
Merged

Escape quotes in csv output #815

merged 1 commit into from Apr 23, 2023

Conversation

laytan
Copy link
Contributor

@laytan laytan commented Apr 23, 2023

If Whisper outputs a quote the whole CSV is invalid at the moment, this runs the same function to escape them as the JSON output on the CSV output.

@dgm3333
Copy link

dgm3333 commented Apr 23, 2023

Why is this different to the preexisting pull request which would appear to be fixing the same issue?
#776
#769
PS you've got a spelling mistake in your title

@laytan
Copy link
Contributor Author

laytan commented Apr 23, 2023

@dgm3333 Thanks for the heads up about the spelling mistake. The issues you mention are changing the approach of the escaping function. This PR just applies that function to the text of the CSV output.

@laytan laytan changed the title Escape qoutes in csv output Escape quotes in csv output Apr 23, 2023
@ggerganov
Copy link
Owner

I think this needs update after the merge of #776

@laytan
Copy link
Contributor Author

laytan commented Apr 23, 2023

@ggerganov I have rebased my branch with the changes from that merge

@ggerganov ggerganov merged commit 70567ef into ggerganov:master Apr 23, 2023
jacobwu-b pushed a commit to jacobwu-b/Transcriptify-by-whisper.cpp that referenced this pull request Oct 24, 2023
jacobwu-b pushed a commit to jacobwu-b/Transcriptify-by-whisper.cpp that referenced this pull request Oct 24, 2023
landtanin pushed a commit to landtanin/whisper.cpp that referenced this pull request Dec 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants