Spaces:
Running
on
Zero
Running
on
Zero
Update whisper.py
#11
by
ssolito
- opened
- 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:
|