Abid Ali Awan commited on
Commit
b000f83
·
1 Parent(s): 905d388

Update app.py to correct example audio file reference, ensuring accurate demonstration of the Urdu transcription feature.

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -61,7 +61,7 @@ def transcribe(audio):
61
  return f"Error during transcription: {str(e)}"
62
 
63
  description = "<p style='text-align: center'>Record or upload audio in Urdu and get the transcribed text using Whisper Large V3 Turbo Urdu model.</center></p>"
64
- examples = [["samples/audio1.mp3"], ["samples/audio2.mp3"], ["samples/audio2.mp3"]]
65
  article = "<p style='text-align: center; color: #34C759;'><a href='https://github.com/kingabzpro/simple-mlops-with-urdu-asr' target='_blank' style='text-decoration: none; color: #34C759;'>🌿 Explore the project on GitHub 📚</a></p>"
66
  # Create Gradio interface
67
  demo = gr.Interface(
 
61
  return f"Error during transcription: {str(e)}"
62
 
63
  description = "<p style='text-align: center'>Record or upload audio in Urdu and get the transcribed text using Whisper Large V3 Turbo Urdu model.</center></p>"
64
+ examples = [["samples/audio1.mp3"], ["samples/audio2.mp3"], ["samples/audio3.mp3"]]
65
  article = "<p style='text-align: center; color: #34C759;'><a href='https://github.com/kingabzpro/simple-mlops-with-urdu-asr' target='_blank' style='text-decoration: none; color: #34C759;'>🌿 Explore the project on GitHub 📚</a></p>"
66
  # Create Gradio interface
67
  demo = gr.Interface(