Spaces:
Running
on
Zero
Running
on
Zero
Simplify installing latest git dependencies
Browse files
app.py
CHANGED
@@ -11,15 +11,12 @@ from Broken.Externals.Depthmap import DepthAnythingV2
|
|
11 |
if Runtime.ZeroGPU:
|
12 |
|
13 |
# Install latest git main code
|
14 |
-
|
|
|
15 |
"git+https://github.com/BrokenSource/BrokenSource@main",
|
16 |
"git+https://github.com/BrokenSource/ShaderFlow@main",
|
17 |
"git+https://github.com/BrokenSource/DepthFlow@main",
|
18 |
-
)
|
19 |
-
subprocess.run((
|
20 |
-
sys.executable, "-m", "uv", "pip", "install",
|
21 |
-
dependency, "--upgrade",
|
22 |
-
))
|
23 |
|
24 |
# Remove legacy upscalers
|
25 |
UPSCALERS.pop("Real-ESRGAN")
|
|
|
11 |
if Runtime.ZeroGPU:
|
12 |
|
13 |
# Install latest git main code
|
14 |
+
subprocess.run((
|
15 |
+
sys.executable, "-m", "uv", "pip", "install", "--upgrade",
|
16 |
"git+https://github.com/BrokenSource/BrokenSource@main",
|
17 |
"git+https://github.com/BrokenSource/ShaderFlow@main",
|
18 |
"git+https://github.com/BrokenSource/DepthFlow@main",
|
19 |
+
))
|
|
|
|
|
|
|
|
|
20 |
|
21 |
# Remove legacy upscalers
|
22 |
UPSCALERS.pop("Real-ESRGAN")
|