Spaces:
Running
Running
Upload entrypoint.sh with huggingface_hub
Browse files- entrypoint.sh +2 -0
entrypoint.sh
CHANGED
|
@@ -1,6 +1,8 @@
|
|
| 1 |
#!/bin/bash
|
| 2 |
set -e
|
| 3 |
|
|
|
|
|
|
|
| 4 |
if [ -z "$HF_TOKEN" ]; then
|
| 5 |
echo "ERROR: HF_TOKEN not set."
|
| 6 |
exit 1
|
|
|
|
| 1 |
#!/bin/bash
|
| 2 |
set -e
|
| 3 |
|
| 4 |
+
export HF_ENDPOINT="https://hf-mirror.com"
|
| 5 |
+
|
| 6 |
if [ -z "$HF_TOKEN" ]; then
|
| 7 |
echo "ERROR: HF_TOKEN not set."
|
| 8 |
exit 1
|