Spaces:
Runtime error
Runtime error
init
Browse files
app.py
CHANGED
|
@@ -14,7 +14,7 @@ from transformers.pipelines.audio_utils import ffmpeg_read
|
|
| 14 |
MODEL_NAME = "kotoba-tech/kotoba-whisper-v2.0"
|
| 15 |
BATCH_SIZE = 16
|
| 16 |
CHUNK_LENGTH_S = 15
|
| 17 |
-
EXAMPLE = "sample_diarization_japanese.mp3"
|
| 18 |
|
| 19 |
# device setting
|
| 20 |
if torch.cuda.is_available():
|
|
|
|
| 14 |
MODEL_NAME = "kotoba-tech/kotoba-whisper-v2.0"
|
| 15 |
BATCH_SIZE = 16
|
| 16 |
CHUNK_LENGTH_S = 15
|
| 17 |
+
EXAMPLE = "./sample_diarization_japanese.mp3"
|
| 18 |
|
| 19 |
# device setting
|
| 20 |
if torch.cuda.is_available():
|