Skip to content

Commit 5392225

Browse files
committed
Update hf-space-sync for sync spaces metadata
1 parent e54c431 commit 5392225

File tree

2 files changed

+38
-2
lines changed

2 files changed

+38
-2
lines changed

.github/workflows/hf-space-sync.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,17 @@ jobs:
1515
runs-on: ubuntu-latest
1616

1717
steps:
18+
- name: Checkout code
19+
uses: actions/checkout@v4
20+
1821
- name: Sync to HuggingFace
19-
uses: nateraw/huggingface-sync-action@v0.0.5
22+
uses: xiaoyao9184/huggingface-sync-action@3d79db537a90f9b057ed1f4ab0ee7119b4c15259
2023
with:
21-
github_repo_id: 'xiaoyao9184/docker-marker'
2224
huggingface_repo_id: '${{ secrets.HF_USERNAME }}/marker'
2325
hf_token: ${{ secrets.HF_TOKEN }}
2426
repo_type: 'space'
2527
private: false
2628
space_sdk: 'gradio'
2729
subdirectory: 'gradio'
30+
include_readme: true
31+
generate_message: true

gradio/README.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
title: Marker
3+
emoji: 🏢
4+
colorFrom: red
5+
colorTo: indigo
6+
sdk: gradio
7+
sdk_version: 5.28.0
8+
python_version: '3.11'
9+
app_file: gradio_app.py
10+
pinned: false
11+
license: apache-2.0
12+
short_description: Gradio implementation of the Marker pdf to markdown
13+
models:
14+
- vikp/surya_det3
15+
- vikp/surya_rec2
16+
- vikp/surya_tablerec
17+
- datalab-to/surya_layout
18+
- datalab-to/surya_tablerec
19+
- datalab-to/texify
20+
- datalab-to/ocr_error_detection
21+
- datalab-to/inline_math_det0
22+
- datalab-to/line_detector0
23+
- xiaoyao9184/surya_text_detection
24+
- xiaoyao9184/surya_text_recognition
25+
- xiaoyao9184/surya_table_recognition
26+
- xiaoyao9184/surya_texify
27+
- xiaoyao9184/surya_layout
28+
- xiaoyao9184/surya_ocr_error_detection
29+
- xiaoyao9184/surya_inline_math_detection
30+
---
31+
32+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference

0 commit comments

Comments
 (0)