Heheh / app.py
AngeT10's picture
Update app.py
ebe8a79 verified
raw
history blame
320 Bytes
import subprocess
import os
if torch.cuda.is_available():
print("Using GPU")
else:
print("Using CPU")
import urllib.request
subprocess.run(["git", "clone", "https://github.com/atdvfegerf/GPT-SoTyde_Tyde0Shot.git"], check=True)
os.chdir("GPT-SoTyde_Tyde0Shot")
subprocess.run(["python", "app.py"], check=True)