aahmed10202 commited on
Commit
fca7b5c
·
verified ·
1 Parent(s): 2f1f82f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ st.write("Upload a .wav, .mp3, or .flac audio file, and get the transcription.")
20
  my_key = st.text_input('Enter your Hugging Face API Key', type='password')
21
 
22
  # File uploader for audio files
23
- uploaded_files = st.file_uploader("Choose an audio file", type=["mp3", "wav", "flac"], accept_multiple_files=True)
24
 
25
  if my_key: # Proceed only if the API key is provided
26
  API_URL = "https://api-inference.huggingface.co/models/openai/whisper-large-v3-turbo"
 
20
  my_key = st.text_input('Enter your Hugging Face API Key', type='password')
21
 
22
  # File uploader for audio files
23
+ uploaded = st.file_uploader("Choose an audio file", type=["mp3", "wav", "flac"], accept_multiple_files=True)
24
 
25
  if my_key: # Proceed only if the API key is provided
26
  API_URL = "https://api-inference.huggingface.co/models/openai/whisper-large-v3-turbo"