Spaces:
Running
on
Zero
Running
on
Zero
Update whisper.py (#11)
Browse files- Update whisper.py (2d3ff431bcbc04aff40be73431d8c1a2f85cdc92)
Co-authored-by: Sarah Solito <[email protected]>
- whisper.py +1 -1
whisper.py
CHANGED
|
@@ -107,7 +107,7 @@ def transcribe_pipeline(audio, task):
|
|
| 107 |
return text
|
| 108 |
|
| 109 |
def generate(audio_path, use_v2):
|
| 110 |
-
task = "transcribe
|
| 111 |
temp_mono_path = None
|
| 112 |
|
| 113 |
if use_v2:
|
|
|
|
| 107 |
return text
|
| 108 |
|
| 109 |
def generate(audio_path, use_v2):
|
| 110 |
+
task = "transcribe"
|
| 111 |
temp_mono_path = None
|
| 112 |
|
| 113 |
if use_v2:
|