Update app.py
Browse files
app.py
CHANGED
|
@@ -26,8 +26,6 @@ from faster_whisper import WhisperModel
|
|
| 26 |
|
| 27 |
|
| 28 |
model_size = "small"
|
| 29 |
-
|
| 30 |
-
# Run on GPU with FP16
|
| 31 |
model2 = WhisperModel(model_size, device="cpu", compute_type="int8")
|
| 32 |
|
| 33 |
def transcribe(wav_filepath):
|
|
|
|
| 26 |
|
| 27 |
|
| 28 |
model_size = "small"
|
|
|
|
|
|
|
| 29 |
model2 = WhisperModel(model_size, device="cpu", compute_type="int8")
|
| 30 |
|
| 31 |
def transcribe(wav_filepath):
|