Skip to content

Commit 9ae4fad

Browse files
thatsKevinJainfhanau
authored andcommitted
bug fix: whisper-turbo segments is an array
`segments` in whisper-tubro model is an array
1 parent 1f87481 commit 9ae4fad

File tree

21 files changed

+21
-21
lines changed

21 files changed

+21
-21
lines changed

types/defines/ai.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ export interface Ai_Cf_Openai_Whisper_Large_V3_Turbo_Output {
430430
*/
431431
end?: number;
432432
}[];
433-
};
433+
}[];
434434
/**
435435
* The transcription in WebVTT format, which includes timing and text information for use in subtitles.
436436
*/

types/generated-snapshot/2021-11-03/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3849,7 +3849,7 @@ interface Ai_Cf_Openai_Whisper_Large_V3_Turbo_Output {
38493849
*/
38503850
end?: number;
38513851
}[];
3852-
};
3852+
}[];
38533853
/**
38543854
* The transcription in WebVTT format, which includes timing and text information for use in subtitles.
38553855
*/

types/generated-snapshot/2021-11-03/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3861,7 +3861,7 @@ export interface Ai_Cf_Openai_Whisper_Large_V3_Turbo_Output {
38613861
*/
38623862
end?: number;
38633863
}[];
3864-
};
3864+
}[];
38653865
/**
38663866
* The transcription in WebVTT format, which includes timing and text information for use in subtitles.
38673867
*/

types/generated-snapshot/2022-01-31/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3875,7 +3875,7 @@ interface Ai_Cf_Openai_Whisper_Large_V3_Turbo_Output {
38753875
*/
38763876
end?: number;
38773877
}[];
3878-
};
3878+
}[];
38793879
/**
38803880
* The transcription in WebVTT format, which includes timing and text information for use in subtitles.
38813881
*/

types/generated-snapshot/2022-01-31/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3887,7 +3887,7 @@ export interface Ai_Cf_Openai_Whisper_Large_V3_Turbo_Output {
38873887
*/
38883888
end?: number;
38893889
}[];
3890-
};
3890+
}[];
38913891
/**
38923892
* The transcription in WebVTT format, which includes timing and text information for use in subtitles.
38933893
*/

types/generated-snapshot/2022-03-21/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3900,7 +3900,7 @@ interface Ai_Cf_Openai_Whisper_Large_V3_Turbo_Output {
39003900
*/
39013901
end?: number;
39023902
}[];
3903-
};
3903+
}[];
39043904
/**
39053905
* The transcription in WebVTT format, which includes timing and text information for use in subtitles.
39063906
*/

types/generated-snapshot/2022-03-21/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3912,7 +3912,7 @@ export interface Ai_Cf_Openai_Whisper_Large_V3_Turbo_Output {
39123912
*/
39133913
end?: number;
39143914
}[];
3915-
};
3915+
}[];
39163916
/**
39173917
* The transcription in WebVTT format, which includes timing and text information for use in subtitles.
39183918
*/

types/generated-snapshot/2022-08-04/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3901,7 +3901,7 @@ interface Ai_Cf_Openai_Whisper_Large_V3_Turbo_Output {
39013901
*/
39023902
end?: number;
39033903
}[];
3904-
};
3904+
}[];
39053905
/**
39063906
* The transcription in WebVTT format, which includes timing and text information for use in subtitles.
39073907
*/

types/generated-snapshot/2022-08-04/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3913,7 +3913,7 @@ export interface Ai_Cf_Openai_Whisper_Large_V3_Turbo_Output {
39133913
*/
39143914
end?: number;
39153915
}[];
3916-
};
3916+
}[];
39173917
/**
39183918
* The transcription in WebVTT format, which includes timing and text information for use in subtitles.
39193919
*/

types/generated-snapshot/2022-10-31/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3905,7 +3905,7 @@ interface Ai_Cf_Openai_Whisper_Large_V3_Turbo_Output {
39053905
*/
39063906
end?: number;
39073907
}[];
3908-
};
3908+
}[];
39093909
/**
39103910
* The transcription in WebVTT format, which includes timing and text information for use in subtitles.
39113911
*/

types/generated-snapshot/2022-10-31/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3917,7 +3917,7 @@ export interface Ai_Cf_Openai_Whisper_Large_V3_Turbo_Output {
39173917
*/
39183918
end?: number;
39193919
}[];
3920-
};
3920+
}[];
39213921
/**
39223922
* The transcription in WebVTT format, which includes timing and text information for use in subtitles.
39233923
*/

types/generated-snapshot/2022-11-30/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3910,7 +3910,7 @@ interface Ai_Cf_Openai_Whisper_Large_V3_Turbo_Output {
39103910
*/
39113911
end?: number;
39123912
}[];
3913-
};
3913+
}[];
39143914
/**
39153915
* The transcription in WebVTT format, which includes timing and text information for use in subtitles.
39163916
*/

types/generated-snapshot/2022-11-30/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3922,7 +3922,7 @@ export interface Ai_Cf_Openai_Whisper_Large_V3_Turbo_Output {
39223922
*/
39233923
end?: number;
39243924
}[];
3925-
};
3925+
}[];
39263926
/**
39273927
* The transcription in WebVTT format, which includes timing and text information for use in subtitles.
39283928
*/

types/generated-snapshot/2023-03-01/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3912,7 +3912,7 @@ interface Ai_Cf_Openai_Whisper_Large_V3_Turbo_Output {
39123912
*/
39133913
end?: number;
39143914
}[];
3915-
};
3915+
}[];
39163916
/**
39173917
* The transcription in WebVTT format, which includes timing and text information for use in subtitles.
39183918
*/

types/generated-snapshot/2023-03-01/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3924,7 +3924,7 @@ export interface Ai_Cf_Openai_Whisper_Large_V3_Turbo_Output {
39243924
*/
39253925
end?: number;
39263926
}[];
3927-
};
3927+
}[];
39283928
/**
39293929
* The transcription in WebVTT format, which includes timing and text information for use in subtitles.
39303930
*/

types/generated-snapshot/2023-07-01/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3912,7 +3912,7 @@ interface Ai_Cf_Openai_Whisper_Large_V3_Turbo_Output {
39123912
*/
39133913
end?: number;
39143914
}[];
3915-
};
3915+
}[];
39163916
/**
39173917
* The transcription in WebVTT format, which includes timing and text information for use in subtitles.
39183918
*/

types/generated-snapshot/2023-07-01/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3924,7 +3924,7 @@ export interface Ai_Cf_Openai_Whisper_Large_V3_Turbo_Output {
39243924
*/
39253925
end?: number;
39263926
}[];
3927-
};
3927+
}[];
39283928
/**
39293929
* The transcription in WebVTT format, which includes timing and text information for use in subtitles.
39303930
*/

types/generated-snapshot/experimental/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3993,7 +3993,7 @@ interface Ai_Cf_Openai_Whisper_Large_V3_Turbo_Output {
39933993
*/
39943994
end?: number;
39953995
}[];
3996-
};
3996+
}[];
39973997
/**
39983998
* The transcription in WebVTT format, which includes timing and text information for use in subtitles.
39993999
*/

types/generated-snapshot/experimental/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4005,7 +4005,7 @@ export interface Ai_Cf_Openai_Whisper_Large_V3_Turbo_Output {
40054005
*/
40064006
end?: number;
40074007
}[];
4008-
};
4008+
}[];
40094009
/**
40104010
* The transcription in WebVTT format, which includes timing and text information for use in subtitles.
40114011
*/

types/generated-snapshot/oldest/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3849,7 +3849,7 @@ interface Ai_Cf_Openai_Whisper_Large_V3_Turbo_Output {
38493849
*/
38503850
end?: number;
38513851
}[];
3852-
};
3852+
}[];
38533853
/**
38543854
* The transcription in WebVTT format, which includes timing and text information for use in subtitles.
38553855
*/

types/generated-snapshot/oldest/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3861,7 +3861,7 @@ export interface Ai_Cf_Openai_Whisper_Large_V3_Turbo_Output {
38613861
*/
38623862
end?: number;
38633863
}[];
3864-
};
3864+
}[];
38653865
/**
38663866
* The transcription in WebVTT format, which includes timing and text information for use in subtitles.
38673867
*/

0 commit comments

Comments
 (0)