File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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.
3636message JsonString {
3737 string json = 1 ;
@@ -40,7 +40,6 @@ message JsonString {
4040// The response message containing the greetings.
4141message PlaylistRequest {
4242 string Url = 1 ;
43-
4443 int32 stream = 2 ;
4544 JsonString metadata = 3 ;
4645}
You can’t perform that action at this time.
0 commit comments