Skip to content

Commit

Permalink
And summarizer.py cli works again...
Browse files Browse the repository at this point in the history
  • Loading branch information
rmusser01 committed May 11, 2024
1 parent be6ad63 commit 24c41c2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions summarize.py
Original file line number Diff line number Diff line change
Expand Up @@ -1396,6 +1396,7 @@ def main(input_path, api_name=None, api_key=None, num_speakers=2, whisper_model=
parser.add_argument('input_path', type=str, help='Path or URL of the video', nargs='?')
parser.add_argument('-v', '--video', action='store_true', help='Download the video instead of just the audio')
parser.add_argument('-api', '--api_name', type=str, help='API name for summarization (optional)')
parser.add_argument('-key', '--api_key', type=str, help='API key for summarization (optional)')
parser.add_argument('-ns', '--num_speakers', type=int, default=2, help='Number of speakers (default: 2)')
parser.add_argument('-wm', '--whisper_model', type=str, default='small.en',
help='Whisper model (default: small.en)')
Expand Down

0 comments on commit 24c41c2

Please sign in to comment.