changed from faster whisper to whisper
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ from speechlib import Transcriptor
|
|
7 |
|
8 |
def transcribe_audio(file, log_folder, language, modelSize, ACCESS_TOKEN, voices_folder, quantization):
|
9 |
transcriptor = Transcriptor(file, log_folder, language, modelSize, ACCESS_TOKEN, voices_folder, quantization)
|
10 |
-
return transcriptor.
|
11 |
|
12 |
def transform_transcript(transcript):
|
13 |
result = []
|
|
|
7 |
|
8 |
def transcribe_audio(file, log_folder, language, modelSize, ACCESS_TOKEN, voices_folder, quantization):
|
9 |
transcriptor = Transcriptor(file, log_folder, language, modelSize, ACCESS_TOKEN, voices_folder, quantization)
|
10 |
+
return transcriptor.whisper()
|
11 |
|
12 |
def transform_transcript(transcript):
|
13 |
result = []
|