Skip to content

Commit 79953d4

Browse files
committed
update ct.proto
1 parent ad02846 commit 79953d4

1 file changed

Lines changed: 7 additions & 8 deletions

File tree

ct.proto

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,17 @@ service PythonServer {
2121
rpc ComputeFileHash (FileHashRequest) returns (FileHashResponse) {}
2222
rpc GetMediaInfoRPC(File) returns (JsonString) {}
2323

24-
rpc CaptionRPC(CaptionRequest) returns (JsonString) {}
24+
rpc TranscribeAudioRPC (TranscriptionRequest) returns (JsonString) {}
2525
}
2626

27-
message CaptionRequest {
28-
string logId = 1;
29-
string filePath = 2;
30-
string phraseHints = 3;
31-
string courseHints = 4;
32-
string outputLanguages = 5;
27+
message TranscriptionRequest {
28+
string filePath = 1; // Path to the audio/video file to be transcribed
29+
string model = 2; // Whisper model to use (e.g., 'base-en', 'tiny-en')
30+
string language = 3; // Language in audio.
31+
string logId = 4;
3332
}
3433

34+
3535
// The request message containing the user's name.
3636
message JsonString {
3737
string json = 1;
@@ -40,7 +40,6 @@ message JsonString {
4040
// The response message containing the greetings.
4141
message PlaylistRequest {
4242
string Url = 1;
43-
4443
int32 stream = 2;
4544
JsonString metadata = 3;
4645
}

0 commit comments

Comments
 (0)