Spaces:
Runtime error
Runtime error
Fix "None" VAD #10
Browse files
app.py
CHANGED
@@ -148,7 +148,7 @@ class WhisperTranscriber:
|
|
148 |
result = self.process_vad(audio_path, whisperCallable, periodic_vad, period_config)
|
149 |
else:
|
150 |
# Default VAD
|
151 |
-
result = whisperCallable(audio_path, 0, None, None)
|
152 |
|
153 |
return result
|
154 |
|
|
|
148 |
result = self.process_vad(audio_path, whisperCallable, periodic_vad, period_config)
|
149 |
else:
|
150 |
# Default VAD
|
151 |
+
result = whisperCallable.invoke(audio_path, 0, None, None)
|
152 |
|
153 |
return result
|
154 |
|