File size: 320 Bytes
1f93503
 
 
02b9e2e
 
 
 
 
c0d055b
cb08cae
1f93503
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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)