beeguy commited on
Commit
deaa5e4
·
1 Parent(s): 347a6dd
Files changed (1) hide show
  1. app.py +6 -2
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
- st.write("or")
 
 
 
 
 
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