Surendradjh commited on
Commit
0b8f442
·
verified ·
1 Parent(s): 17b2517

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -8
app.py CHANGED
@@ -15,15 +15,13 @@ if "audio_file" not in st.session_state:
15
  st.info("Please upload an audio file to store it in the background.")
16
  else:
17
  st.info("Audio file is stored in the background. You can proceed with further processing.")
 
 
18
 
 
 
19
 
 
20
 
21
- aai.settings.api_key = "ab1cac1fd1aa42ccaaf517ae98030f8d"
22
- transcriber = aai.Transcriber()
23
 
24
- transcript = transcriber.transcribe(audio_file)
25
- # transcript = transcriber.transcribe("./my-local-audio-file.wav")
26
-
27
- st.write(transcript.text)
28
-
29
- # st.write(pipe(audio_file))
 
15
  st.info("Please upload an audio file to store it in the background.")
16
  else:
17
  st.info("Audio file is stored in the background. You can proceed with further processing.")
18
+ aai.settings.api_key = "ab1cac1fd1aa42ccaaf517ae98030f8d"
19
+ transcriber = aai.Transcriber()
20
 
21
+ transcript = transcriber.transcribe(audio_file)
22
+ # transcript = transcriber.transcribe("./my-local-audio-file.wav")
23
 
24
+ st.write(transcript.text)
25
 
26
+ # st.write(pipe(audio_file))
 
27