Spaces:
Runtime error
Runtime error
Pranjal12345
commited on
Commit
•
083ff5f
1
Parent(s):
b4cbbe2
Update main.py
Browse files
main.py
CHANGED
@@ -34,7 +34,7 @@ model = WhisperForConditionalGeneration.from_pretrained("openai/whisper-small")
|
|
34 |
model.config.forced_decoder_ids = None
|
35 |
|
36 |
# Path to your audio file
|
37 |
-
audio_file_path = "
|
38 |
|
39 |
# Read the audio file
|
40 |
audio_data, _ = librosa.load(audio_file_path, sr=16000)
|
|
|
34 |
model.config.forced_decoder_ids = None
|
35 |
|
36 |
# Path to your audio file
|
37 |
+
audio_file_path = "output.mp3"
|
38 |
|
39 |
# Read the audio file
|
40 |
audio_data, _ = librosa.load(audio_file_path, sr=16000)
|