Spaces:
Runtime error
Runtime error
fix typo
Browse files- app_gradio_space.py +0 -24
app_gradio_space.py
CHANGED
@@ -15,30 +15,6 @@ import subprocess
|
|
15 |
ProjectDir = os.path.abspath(os.path.dirname(__file__))
|
16 |
CheckpointsDir = os.path.join(ProjectDir, "checkpoints")
|
17 |
|
18 |
-
result = subprocess.run(
|
19 |
-
["pip", "install", "--no-cache-dir", "-U", "openmim"],
|
20 |
-
capture_output=True,
|
21 |
-
text=True,
|
22 |
-
)
|
23 |
-
print(result)
|
24 |
-
|
25 |
-
result = subprocess.run(["mim", "install", "mmengine"], capture_output=True, text=True)
|
26 |
-
print(result)
|
27 |
-
|
28 |
-
result = subprocess.run(
|
29 |
-
["mim", "install", "mmcv>=2.0.1"], capture_output=True, text=True
|
30 |
-
)
|
31 |
-
print(result)
|
32 |
-
|
33 |
-
result = subprocess.run(
|
34 |
-
["mim", "install", "mmdet>=3.1.0"], capture_output=True, text=True
|
35 |
-
)
|
36 |
-
print(result)
|
37 |
-
|
38 |
-
result = subprocess.run(
|
39 |
-
["mim", "install", "mmpose>=1.1.0"], capture_output=True, text=True
|
40 |
-
)
|
41 |
-
print(result)
|
42 |
ignore_video2video = True
|
43 |
max_image_edge = 960
|
44 |
|
|
|
15 |
ProjectDir = os.path.abspath(os.path.dirname(__file__))
|
16 |
CheckpointsDir = os.path.join(ProjectDir, "checkpoints")
|
17 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
ignore_video2video = True
|
19 |
max_image_edge = 960
|
20 |
|