Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ from transformers import WhisperProcessor, WhisperForConditionalGeneration
|
|
| 6 |
|
| 7 |
|
| 8 |
import torch
|
| 9 |
-
|
| 10 |
|
| 11 |
# 加载 Whisper 模型和 processor
|
| 12 |
# model_name = "openai/whisper-large-v3-turbo"
|
|
|
|
| 6 |
|
| 7 |
|
| 8 |
import torch
|
| 9 |
+
import librosa
|
| 10 |
|
| 11 |
# 加载 Whisper 模型和 processor
|
| 12 |
# model_name = "openai/whisper-large-v3-turbo"
|