Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -4,8 +4,7 @@ from faster_whisper import WhisperModel
|
|
4 |
import librosa
|
5 |
|
6 |
# Load the model
|
7 |
-
|
8 |
-
model = WhisperModel("navidved/persian-whisper-large-v3-ct2", device="cpu", compute_type="int8", local_files_only=False)
|
9 |
|
10 |
# Define the maximum audio length in seconds
|
11 |
MAX_AUDIO_LENGTH = 15 # seconds
|
|
|
4 |
import librosa
|
5 |
|
6 |
# Load the model
|
7 |
+
model = WhisperModel("navidved/Goya-v1-ct2", device="cpu", compute_type="int8", local_files_only=False)
|
|
|
8 |
|
9 |
# Define the maximum audio length in seconds
|
10 |
MAX_AUDIO_LENGTH = 15 # seconds
|