snyamson commited on
Commit
8116686
·
1 Parent(s): 7fdcb89

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -8,7 +8,7 @@ model = WhisperForConditionalGeneration.from_pretrained("openai/whisper-tiny.en"
8
 
9
  # Sidebar for file upload
10
  st.sidebar.title("Upload your audio file")
11
- uploaded_file = st.sidebar.file_uploader("Choose an audio file", type=["mp3", "wav", "mp4"])
12
 
13
  if uploaded_file:
14
  st.sidebar.audio(uploaded_file)
@@ -43,4 +43,5 @@ if uploaded_file:
43
 
44
  # Display the transcript
45
  st.header("Transcription")
46
- st.write(full_transcript)
 
 
8
 
9
  # Sidebar for file upload
10
  st.sidebar.title("Upload your audio file")
11
+ uploaded_file = st.sidebar.file_uploader("Choose an audio file", type=["mp3", "wav", "mp4", "m4a"])
12
 
13
  if uploaded_file:
14
  st.sidebar.audio(uploaded_file)
 
43
 
44
  # Display the transcript
45
  st.header("Transcription")
46
+ st.write(full_transcript)
47
+ st.write('Hello')