balaramas commited on
Commit
88567cb
1 Parent(s): 68735d7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -19,10 +19,12 @@ def install_fairseq():
19
  subprocess.check_call(["pip", "install", "sentencepiece"])
20
  subprocess.check_call(["pip", "install", "soundfile"])
21
  subprocess.check_call(["pip", "install", "gTTS"])
 
22
  return "fairseq successfully installed!"
23
  except subprocess.CalledProcessError as e:
24
  return f"An error occurred while installing fairseq: {str(e)}"
25
 
 
26
  from gtts import gTTS
27
 
28
  def convert_audio_to_16k_wav(audio_input):
 
19
  subprocess.check_call(["pip", "install", "sentencepiece"])
20
  subprocess.check_call(["pip", "install", "soundfile"])
21
  subprocess.check_call(["pip", "install", "gTTS"])
22
+ subprocess.check_call(["pip", "install", "gtts"])
23
  return "fairseq successfully installed!"
24
  except subprocess.CalledProcessError as e:
25
  return f"An error occurred while installing fairseq: {str(e)}"
26
 
27
+
28
  from gtts import gTTS
29
 
30
  def convert_audio_to_16k_wav(audio_input):