Skip to content

Commit

Permalink
Merge pull request #25 from hinagiku-dev/fix/stt-script
Browse files Browse the repository at this point in the history
fix: `pnpm stt`  message
  • Loading branch information
ryanlinjui authored Dec 16, 2024
2 parents aa90e2f + 4f1bb64 commit 0f96306
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/speech2text.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ import { transcribe } from '../src/lib/stt/core';
dotenv.config();

const help_message = `
Usage: tsx <script> [options] <audio_filepath>
Usage: pnpm stt <audio_filepath> [options]
Options:
--help, -h Show this help message
<audio_filepath> Path to the audio file to be transcribed, (mp3, wav)
--help, -h Show this help message
Example:
tsx script.ts audio.mp3
pnpm stt audio.mp3
`;

main();
Expand Down

0 comments on commit 0f96306

Please sign in to comment.