sasan commited on
Commit
9e66a7d
·
1 Parent(s): c3baa67

Refactor space.py to install TTS package and improve code organization

Browse files
Files changed (1) hide show
  1. space.py +1 -0
space.py CHANGED
@@ -5,6 +5,7 @@ subprocess.run(
5
  env={"FLASH_ATTENTION_SKIP_CUDA_BUILD": "TRUE"},
6
  shell=True,
7
  )
 
8
 
9
  import gradio as gr
10
  import spaces
 
5
  env={"FLASH_ATTENTION_SKIP_CUDA_BUILD": "TRUE"},
6
  shell=True,
7
  )
8
+ subprocess.run("pip install -U TTS", shell=True)
9
 
10
  import gradio as gr
11
  import spaces