Update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ import torchaudio
|
|
| 6 |
|
| 7 |
# Constants
|
| 8 |
MODEL = "openai/whisper-small.en"
|
| 9 |
-
ADAPTER_DIR = "./
|
| 10 |
DEVICE = "cuda" if torch.cuda.is_available() else "cpu"
|
| 11 |
SAMPLE_RATE = 16000
|
| 12 |
CHUNK_LENGTH = 30 # Length of each audio chunk in seconds
|
|
|
|
| 6 |
|
| 7 |
# Constants
|
| 8 |
MODEL = "openai/whisper-small.en"
|
| 9 |
+
ADAPTER_DIR = "./checkpoint-60"
|
| 10 |
DEVICE = "cuda" if torch.cuda.is_available() else "cpu"
|
| 11 |
SAMPLE_RATE = 16000
|
| 12 |
CHUNK_LENGTH = 30 # Length of each audio chunk in seconds
|