ritianyu commited on
Commit
5a5db17
·
1 Parent(s): 2df49a5

update environ

Browse files
Files changed (2) hide show
  1. README.md +1 -0
  2. requirements.txt +5 -12
README.md CHANGED
@@ -5,6 +5,7 @@ colorFrom: purple
5
  colorTo: purple
6
  sdk: gradio
7
  sdk_version: 5.47.2
 
8
  app_file: app.py
9
  hardware: zero-a10g
10
  preload_from_hub:
 
5
  colorTo: purple
6
  sdk: gradio
7
  sdk_version: 5.47.2
8
+ python_version: "3.10"
9
  app_file: app.py
10
  hardware: zero-a10g
11
  preload_from_hub:
requirements.txt CHANGED
@@ -1,35 +1,28 @@
1
  # Runtime dependencies for the Hugging Face Space demo.
2
- # Keep this list tight: ZeroGPU is more stable with a smaller dependency surface.
 
3
 
4
  torch==2.9.1
5
  torchvision==0.24.1
6
 
7
  numpy==1.26.4
8
  Pillow>=10.1.0
9
- opencv-python==4.9.0.80
10
  scipy
11
  matplotlib
12
  imageio>=2.33.1
13
  imageio-ffmpeg
14
  h5py
15
- open3d
16
  einops
17
  huggingface_hub>=0.24.0
18
  scikit-learn
19
- trimesh
20
  timm
21
  onnxruntime
22
 
23
-
24
  # Hugging Face Spaces manages Gradio from README.md `sdk_version`.
25
  # Do not pin `gradio` here.
26
- #
27
- # ZeroGPU support comes from the Space runtime itself; avoid pinning `spaces`
28
- # unless debugging a specific runtime regression.
29
- #
30
- # `xformers` and `onnxruntime` are intentionally omitted:
31
- # - the active demo inference path has safe fallbacks without `xformers`
32
- # - `onnxruntime` is only needed for optional sky-segmentation utilities
33
 
34
  # MoGe-2 dependency used when no depth prior is uploaded.
35
  git+https://github.com/microsoft/MoGe.git
 
1
  # Runtime dependencies for the Hugging Face Space demo.
2
+ # This app currently requires Python 3.10/3.11/3.12 because it depends on
3
+ # `open3d` and `numpy==1.26.4`, which do not provide wheels for Python 3.13.
4
 
5
  torch==2.9.1
6
  torchvision==0.24.1
7
 
8
  numpy==1.26.4
9
  Pillow>=10.1.0
10
+ opencv-python-headless==4.9.0.80
11
  scipy
12
  matplotlib
13
  imageio>=2.33.1
14
  imageio-ffmpeg
15
  h5py
16
+ open3d==0.19.0
17
  einops
18
  huggingface_hub>=0.24.0
19
  scikit-learn
20
+ trimesh>=4.4.0
21
  timm
22
  onnxruntime
23
 
 
24
  # Hugging Face Spaces manages Gradio from README.md `sdk_version`.
25
  # Do not pin `gradio` here.
 
 
 
 
 
 
 
26
 
27
  # MoGe-2 dependency used when no depth prior is uploaded.
28
  git+https://github.com/microsoft/MoGe.git