yezdata commited on
Commit
df5b9a8
·
1 Parent(s): 77b8b53

fix hf ping

Browse files
Files changed (1) hide show
  1. .github/workflows/ping_hf.yml +8 -8
.github/workflows/ping_hf.yml CHANGED
@@ -10,11 +10,11 @@ jobs:
10
  runs-on: ubuntu-latest
11
  steps:
12
  - name: Wake up EmCoder Model API
13
- run: |
14
- STATUS=$(curl -L -s -o /dev/null -w "%{http_code}" \
15
- --retry 5 \
16
- --retry-delay 15 \
17
- --retry-all-errors \
18
- "https://yezdata-emcoder-api-ui.hf.space/health")
19
- echo "EmCoder Status: $STATUS"
20
- if [ "$STATUS" -ne 200 ]; then exit 1; fi
 
10
  runs-on: ubuntu-latest
11
  steps:
12
  - name: Wake up EmCoder Model API
13
+ run: |
14
+ STATUS=$(curl -L -s -o /dev/null -w "%{http_code}" \
15
+ --retry 5 \
16
+ --retry-delay 15 \
17
+ --retry-all-errors \
18
+ "https://yezdata-emcoder-api-ui.hf.space/health")
19
+ echo "EmCoder Status: $STATUS"
20
+ if [ "$STATUS" -ne 200 ]; then exit 1; fi