Princeaka commited on
Commit
cdcf15a
·
verified ·
1 Parent(s): 02f51d7

Update huggingface.yml

Browse files
Files changed (1) hide show
  1. huggingface.yml +14 -19
huggingface.yml CHANGED
@@ -1,19 +1,14 @@
1
- build:
2
- os: debian-11 # Critical for package availability
3
- docker: false # Force non-Docker build
4
- commands:
5
- # System dependencies
6
- - apt-get update
7
- - apt-get install -y --no-install-recommends \
8
- ffmpeg \
9
- libsndfile1 \
10
- libgl1 \
11
- libsm6 \
12
- libxext6 \
13
- libglib2.0-0
14
-
15
- # Python environment
16
- - python -m pip install --upgrade pip setuptools wheel
17
- - pip install --no-cache-dir imageio==2.31.1 imageio-ffmpeg==0.4.8
18
- - pip install --no-cache-dir moviepy==1.0.3
19
- - pip install --no-cache-dir -r requirements.txt
 
1
+ # Basic Space config (works for Gradio Spaces)
2
+ sdk: gradio
3
+ app_file: app.py
4
+ python_version: "3.10"
5
+ # If you plan to use SD (text2img/inpaint), set your Space to a GPU in the Space settings UI.
6
+ # Some orgs use resources via YAML; if available in your org, uncomment:
7
+ # resources:
8
+ # accelerators:
9
+ # - "gpu"
10
+ env:
11
+ - key: HF_HUB_ENABLE_HF_TRANSFER
12
+ value: "1"
13
+ - key: HF_HUB_DISABLE_TELEMETRY
14
+ value: "1"