Monius
commited on
Commit
·
5da6d93
1
Parent(s):
9ac8bcb
add env setu
Browse files
README.md
CHANGED
@@ -13,6 +13,19 @@ license: mit
|
|
13 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
14 |
|
15 |
```bash
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
conda create -n w3 python=3.12 scipy numpy pyglet trimesh gradio -c conda-forge
|
17 |
argo tunnel --url http://127.0.0.1:7860
|
18 |
```
|
|
|
13 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
14 |
|
15 |
```bash
|
16 |
+
mini_url_linux="https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh"
|
17 |
+
curl -fsSL $mini_url_linux -o conda.sh
|
18 |
+
sudo mkdir -p /opt/dev && sudo chown -R "$USER:$USER" /opt/dev
|
19 |
+
chmod +x conda.sh && bash conda.sh -b -p /opt/dev/conda
|
20 |
+
|
21 |
+
cat >~/.bashrc <<-'EOF'
|
22 |
+
if [ -f "/opt/dev/conda/etc/profile.d/conda.sh" ]; then
|
23 |
+
. "/opt/dev/conda/etc/profile.d/conda.sh"
|
24 |
+
else
|
25 |
+
export PATH="/opt/dev/conda/bin:$PATH"
|
26 |
+
fi
|
27 |
+
EOF
|
28 |
+
|
29 |
conda create -n w3 python=3.12 scipy numpy pyglet trimesh gradio -c conda-forge
|
30 |
argo tunnel --url http://127.0.0.1:7860
|
31 |
```
|