Spaces:
Running
Running
Update huggingface.yml
Browse files- huggingface.yml +14 -19
huggingface.yml
CHANGED
@@ -1,19 +1,14 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
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"
|
|
|
|
|
|
|
|
|
|