Spaces:
Sleeping
Sleeping
Update start.sh
Browse files
start.sh
CHANGED
|
@@ -1,14 +1,14 @@
|
|
| 1 |
#!/bin/bash
|
| 2 |
|
|
|
|
| 3 |
echo $HF_BUCKET
|
| 4 |
echo $HF_TOKEN
|
| 5 |
|
| 6 |
hf-mount --version
|
| 7 |
hf-mount status
|
| 8 |
|
| 9 |
-
mkdir -p ./data
|
| 10 |
-
hf-mount start --hf-token $HF_TOKEN --read-only bucket $HF_BUCKET ./data
|
| 11 |
-
|
| 12 |
-
hf-mount status
|
| 13 |
|
| 14 |
uvicorn app:app --host 0.0.0.0 --port 7860
|
|
|
|
| 1 |
#!/bin/bash
|
| 2 |
|
| 3 |
+
echo $DATA_DIR
|
| 4 |
echo $HF_BUCKET
|
| 5 |
echo $HF_TOKEN
|
| 6 |
|
| 7 |
hf-mount --version
|
| 8 |
hf-mount status
|
| 9 |
|
| 10 |
+
#mkdir -p ./data
|
| 11 |
+
#hf-mount start --hf-token $HF_TOKEN --read-only bucket $HF_BUCKET ./data
|
| 12 |
+
#hf-mount status
|
|
|
|
| 13 |
|
| 14 |
uvicorn app:app --host 0.0.0.0 --port 7860
|