File size: 510 Bytes
f559c43
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5faf826
 
f559c43
866bc8b
cb59257
866bc8b
cb59257
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import subprocess
import sys


# Install latest code
def upgrade(dependency):
    subprocess.run((
        sys.executable, "-m", "pip", "install",
        dependency, "--upgrade",
    ))

upgrade("git+https://github.com/BrokenSource/BrokenSource@main")
upgrade("git+https://github.com/BrokenSource/ShaderFlow@main")
upgrade("git+https://github.com/BrokenSource/DepthFlow@main")


from DepthFlow.Webui import DepthGradio

DepthGradio().launch(
    turbopipe=True,
    workers=4,
    nvenc=True,
    pwa=True,
)