File size: 490 Bytes
1f93503
 
 
 
 
cb08cae
 
1f93503
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import subprocess
import os
import torch
import urllib.request

subprocess.run(["pip", "install" , "TTS"], check=True)

if torch.cuda.is_available():
  print("Using GPU")
else:
  print("Using CPU")
 
subprocess.run(["git", "clone", "https://github.com/atdvfegerf/GPT-SoTyde_Tyde0Shot.git"], check=True)

os.chdir("GPT-SoTyde_Tyde0Shot")

subprocess.run(["pip", "install", "-r", "requirements.txt"], check=True)
print("Finished Installing")

subprocess.run(["python", "app.py"], check=True)