Spaces:
Runtime error
Runtime error
tensorkelechi
commited on
Commit
•
50d56c9
1
Parent(s):
1e763b7
Update app.py
Browse files
app.py
CHANGED
@@ -49,10 +49,10 @@ def transcriber_pass(processed_audio):
|
|
49 |
stime = time.time()
|
50 |
|
51 |
# transcribe with moonshine
|
52 |
-
text_extract = moonshine.transcribe(processed_audio, "moonshine/
|
53 |
|
54 |
time_taken = time.time() - stime
|
55 |
-
st.write(f'transcribed in {time_taken}s')
|
56 |
|
57 |
return text_extract[0]
|
58 |
|
|
|
49 |
stime = time.time()
|
50 |
|
51 |
# transcribe with moonshine
|
52 |
+
text_extract = moonshine.transcribe(processed_audio, "moonshine/base")
|
53 |
|
54 |
time_taken = time.time() - stime
|
55 |
+
st.write(f'transcribed in {time_taken:.4f}s')
|
56 |
|
57 |
return text_extract[0]
|
58 |
|