sasan commited on
Commit
dca05b7
1 Parent(s): 3d9b3dd

chore: Update requirements.txt and add MeloTTS dependency

Browse files
Files changed (2) hide show
  1. requirements.txt +2 -1
  2. space.py +4 -1
requirements.txt CHANGED
@@ -21,4 +21,5 @@ python-dotenv
21
  pydantic-settings
22
  ollama
23
  plotly-express
24
- loguru
 
 
21
  pydantic-settings
22
  ollama
23
  plotly-express
24
+ loguru
25
+ melotts @ git+https://github.com/myshell-ai/MeloTTS.git@main
space.py CHANGED
@@ -5,7 +5,10 @@ subprocess.run(
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
 
5
  env={"FLASH_ATTENTION_SKIP_CUDA_BUILD": "TRUE"},
6
  shell=True,
7
  )
8
+ subprocess.run(
9
+ "python -m unidic download",
10
+ shell=True,
11
+ )
12
 
13
  import gradio as gr
14
  import spaces