mr2along commited on
Commit
443bdb5
·
verified ·
1 Parent(s): 0d0b31f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -47,7 +47,7 @@ def transcribe_audio(audio):
47
 
48
  # Step 2: Create pronunciation audio for incorrect words
49
  def create_pronunciation_audio(word):
50
- time.sleep(5) # Chờ 5 giây
51
  tts = gTTS(word)
52
  main_url="https://mr2along-speech-recognize.hf.space/gradio_api/file="
53
  audio_file_path = f"audio/{word}.mp3" # Save the audio to a file
 
47
 
48
  # Step 2: Create pronunciation audio for incorrect words
49
  def create_pronunciation_audio(word):
50
+ time.sleep(1) # Chờ 5 giây
51
  tts = gTTS(word)
52
  main_url="https://mr2along-speech-recognize.hf.space/gradio_api/file="
53
  audio_file_path = f"audio/{word}.mp3" # Save the audio to a file