Spaces:
Runtime error
Runtime error
Commit
•
3ed304d
1
Parent(s):
e222bf6
Update app.py
Browse files
app.py
CHANGED
@@ -104,7 +104,7 @@ def Transcribe_V1(NumberOfSpeakers, SpeakerNames="", audio="temp_audio.wav"):
|
|
104 |
return f"dz_{audio}.wav", dzList, segments
|
105 |
|
106 |
def transcribe(dz_audio):
|
107 |
-
model = whisper.load_model("
|
108 |
result = model.transcribe(dz_audio)
|
109 |
# for _ in result['segments']:
|
110 |
# print(_['start'], _['end'], _['text'])
|
|
|
104 |
return f"dz_{audio}.wav", dzList, segments
|
105 |
|
106 |
def transcribe(dz_audio):
|
107 |
+
model = whisper.load_model("large")
|
108 |
result = model.transcribe(dz_audio)
|
109 |
# for _ in result['segments']:
|
110 |
# print(_['start'], _['end'], _['text'])
|