Spaces:
Running
Running
text
Browse files
app.py
CHANGED
@@ -8,6 +8,10 @@ audio_to_text = pipeline("automatic-speech-recognition")
|
|
8 |
|
9 |
audio_file = st.file_uploader("Upload an audio file", type=["wav", "mp3", "ogg"])
|
10 |
|
11 |
-
|
|
|
|
|
|
|
|
|
|
|
12 |
|
13 |
-
st.write("Record an audio")
|
|
|
8 |
|
9 |
audio_file = st.file_uploader("Upload an audio file", type=["wav", "mp3", "ogg"])
|
10 |
|
11 |
+
text = audio_to_text(audio_file)
|
12 |
+
|
13 |
+
st.write("Here is the text:")
|
14 |
+
st.write(text)
|
15 |
+
|
16 |
+
|
17 |
|
|