asahi417 commited on
Commit
9d33482
·
verified ·
1 Parent(s): e34822e

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -2
README.md CHANGED
@@ -69,13 +69,12 @@ pipe = pipeline(
69
  torch_dtype=torch_dtype,
70
  device=device,
71
  model_kwargs=model_kwargs,
72
- chunk_length_s=15,
73
  batch_size=8,
74
  trust_remote_code=True,
75
  )
76
 
77
  # run inference
78
- result = pipe("sample_diarization_japanese.mp3")
79
  print(result)
80
  >>> {
81
  'chunks/SPEAKER_00': [{'speaker_id': 'SPEAKER_00', 'text': '水をマレーシアから買わなくてはならないのです', 'timestamp': [22.1, 24.97]}],
 
69
  torch_dtype=torch_dtype,
70
  device=device,
71
  model_kwargs=model_kwargs,
 
72
  batch_size=8,
73
  trust_remote_code=True,
74
  )
75
 
76
  # run inference
77
+ result = pipe("sample_diarization_japanese.mp3", chunk_length_s=15)
78
  print(result)
79
  >>> {
80
  'chunks/SPEAKER_00': [{'speaker_id': 'SPEAKER_00', 'text': '水をマレーシアから買わなくてはならないのです', 'timestamp': [22.1, 24.97]}],