Skip to content

Commit a7dfe47

Browse files
committed
ci: Fix the auto version num
1 parent 21f8ac9 commit a7dfe47

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/lineless_table_rec.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
unzip lineless_table_rec_models.zip
5959
mv lineless_table_rec_models/*.onnx lineless_table_rec/models/
6060
61-
python setup_lineless.py bdist_wheel ${{ github.event.head_commit.message }}
61+
python setup_lineless.py bdist_wheel "${{ github.event.head_commit.message }}"
6262
6363
# - name: Publish distribution 📦 to Test PyPI
6464
# uses: pypa/[email protected]

.github/workflows/wired_table_rec.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
unzip wired_table_rec_models.zip
5959
mv wired_table_rec_models/*.onnx wired_table_rec/models/
6060
61-
python setup_wired.py bdist_wheel ${{ github.event.head_commit.message }}
61+
python setup_wired.py bdist_wheel "${{ github.event.head_commit.message }}"
6262
6363
# - name: Publish distribution 📦 to Test PyPI
6464
# uses: pypa/[email protected]

wired_table_rec/table_line_rec.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121

2222
class TableLineRecognition:
23-
def __init__(self, model_path: str = None):
23+
def __init__(self, model_path: Optional[str] = None):
2424
self.K = 1000
2525
self.MK = 4000
2626
self.mean = np.array([0.408, 0.447, 0.470], dtype=np.float32).reshape(1, 1, 3)

0 commit comments

Comments
 (0)