Jirat Jaturanpinyo commited on
Commit
70599b9
·
verified ·
1 Parent(s): edc06cb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -17
app.py CHANGED
@@ -1,17 +0,0 @@
1
- import subprocess
2
-
3
- # Download the voicevox engine archive
4
- subprocess.run(['wget', 'https://github.com/VOICEVOX/voicevox_engine/releases/download/0.19.1/voicevox_engine-linux-cpu-0.19.1.7z.001'])
5
-
6
- # Install p7zip to extract the .7z archive
7
- subprocess.run(['apt-get', 'update', '-y'])
8
- subprocess.run(['apt-get', 'install', '-y', 'p7zip-full'])
9
-
10
- # Extract the archive
11
- subprocess.run(['7z', 'x', 'voicevox_engine-linux-cpu-0.19.1.7z.001'])
12
-
13
- # Clean up the downloaded archive
14
- subprocess.run(['rm', 'voicevox_engine-linux-cpu-0.19.1.7z.001'])
15
-
16
- # Clone voicevox engine repository
17
- subprocess.run(['git', 'clone', 'https://github.com/VOICEVOX/voicevox_engine', '-q'])