Spaces:
Running on Zero
Running on Zero
Download .devcontainer/devcontainer.json from ajju1020/depthforge: direct link, hf CLI and curl.
- Browser
- Download file 848 Bytes
-
https://huggingface.co/spaces/ajju1020/depthforge/resolve/main/.devcontainer/devcontainer.json
- Command line
-
hf download hf://spaces/ajju1020/depthforge/.devcontainer/devcontainer.json
-
curl -L -o devcontainer.json https://huggingface.co/spaces/ajju1020/depthforge/resolve/main/.devcontainer/devcontainer.json
848 Bytes
| { | |
| "name": "DepthForge (CPU dev)", | |
| "image": "mcr.microsoft.com/devcontainers/python:3.11", | |
| "features": { | |
| "ghcr.io/devcontainers/features/git:1": {} | |
| }, | |
| "onCreateCommand": "sudo apt-get update && sudo apt-get install -y libgl1 libglib2.0-0", | |
| "postCreateCommand": "bash .devcontainer/setup.sh", | |
| "forwardPorts": [7860], | |
| "portsAttributes": { | |
| "7860": { | |
| "label": "DepthForge (Gradio)", | |
| "onAutoForward": "openBrowser" | |
| } | |
| }, | |
| "containerEnv": { | |
| "GRADIO_SERVER_NAME": "0.0.0.0" | |
| }, | |
| "customizations": { | |
| "vscode": { | |
| "extensions": [ | |
| "ms-python.python", | |
| "ms-python.vscode-pylance" | |
| ], | |
| "settings": { | |
| "python.defaultInterpreterPath": "/usr/local/bin/python", | |
| "python.testing.pytestEnabled": true, | |
| "python.testing.pytestArgs": ["tests"] | |
| } | |
| } | |
| } | |
| } | |