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) | |