Feat: customize settings before transcribing (#699)

* transcribe with language

* avoid using .en model to transcribe un-English audio

* save lanuage in transcription/audio/video

* may select language when regenerate transcription

* may select service when re-generate

* refactor transcription form

* refactor transcription create form

* refactor media loading modal

* display ipa per language

* refactor ipa mappings

* parse subtitle files
This commit is contained in:
an-lee
2024-06-24 14:35:09 +08:00
committed by GitHub
parent 7f4395354e
commit 3b83861749
31 changed files with 695 additions and 525 deletions

View File

@@ -260,7 +260,9 @@ export class Client {
return this.api.post("/api/transcriptions", decamelizeKeys(transcription));
}
syncSegment(segment: Partial<Omit<SegmentType, "audio" | "video">>) {
syncSegment(
segment: Partial<Omit<SegmentType, "audio" | "video" | "target">>
) {
return this.api.post("/api/segments", decamelizeKeys(segment));
}