ItsNotSoftware commited on
Commit
da8cce3
·
verified ·
1 Parent(s): c06c606

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ import torchaudio
6
 
7
  # Constants
8
  MODEL = "openai/whisper-small.en"
9
- ADAPTER_DIR = "./adapter"
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