Skip to content

Commit

Permalink
rename transcribe endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
chainyo committed Oct 2, 2023
1 parent cf9c55e commit e041502
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/wordcab_transcribe/router/v1/transcribe_endpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@
response_model=Union[TranscriptionOutput, List[TranscriptionOutput]],
status_code=http_status.HTTP_200_OK,
)
async def remote_transcription(
async def only_transcription(
data: TranscribeRequest,
) -> Union[TranscriptionOutput, List[TranscriptionOutput]]:
"""Transcribe endpoint for the Remote Wordcab Transcribe API."""
"""Transcribe endpoint for the `only_transcription` asr type."""
result: Union[TranscriptionOutput, List[TranscriptionOutput]] = (
await asr.process_input(data)
)
Expand Down

0 comments on commit e041502

Please sign in to comment.