Spaces:
Sleeping
Sleeping
Mongar28
commited on
Commit
·
3f1491a
1
Parent(s):
bd942b6
Correccón de errores en las impresion de la transcripción
Browse files- app.py +2 -1
- documents/audios/nota_de_voz.ogg +0 -0
app.py
CHANGED
@@ -10,10 +10,11 @@ def main():
|
|
10 |
transcription = whisper_os(audio_full_path)
|
11 |
|
12 |
def transcription_generator():
|
13 |
-
for word in transcription.split(' '):
|
14 |
time.sleep(0.2)
|
15 |
yield word + ' '
|
16 |
st.write_stream(transcription_generator(), )
|
|
|
17 |
|
18 |
|
19 |
if __name__ == "__main__":
|
|
|
10 |
transcription = whisper_os(audio_full_path)
|
11 |
|
12 |
def transcription_generator():
|
13 |
+
for word in transcription["text"].split(' '):
|
14 |
time.sleep(0.2)
|
15 |
yield word + ' '
|
16 |
st.write_stream(transcription_generator(), )
|
17 |
+
# st.write(transcription)
|
18 |
|
19 |
|
20 |
if __name__ == "__main__":
|
documents/audios/nota_de_voz.ogg
ADDED
Binary file (97.3 kB). View file
|
|