Skip to content

Commit 2e655c6

Browse files
gloratawalker4
andauthored
fix: remove spurious whitespace in app-start.sh (#262)
Resolves issue #261 --------- Co-authored-by: Austin Walker <[email protected]>
1 parent c314650 commit 2e655c6

File tree

5 files changed

+8
-4
lines changed

5 files changed

+8
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.0.49
2+
3+
* Remove spurious whitespace in `app-start.sh`. **This fixes deployments in some envs such as Google Cloud Run**.
4+
15
## 0.0.48
26

37
* **Adds `languages` kwarg** `ocr_languages` will eventually be deprecated and replaced by `lanugages` to specify what languages to use for OCR

prepline_general/api/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
app = FastAPI(
1212
title="Unstructured Pipeline API",
1313
description="""""",
14-
version="0.0.48",
14+
version="0.0.49",
1515
docs_url="/general/docs",
1616
openapi_url="/general/openapi.json",
1717
)

prepline_general/api/general.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@ def return_content_type(filename):
569569

570570

571571
@router.post("/general/v0/general")
572-
@router.post(f"/general/v{app.version}/general")
572+
@router.post(f"/general/v0.0.49/general")
573573
def pipeline_1(
574574
request: Request,
575575
gz_uncompressed_content_type: Optional[str] = Form(default=None),

preprocessing-pipeline-family.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
name: general
2-
version: 0.0.48
2+
version: 0.0.49

scripts/app-start.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env bash
1+
#!/usr/bin/env bash
22

33
UNSTRUCTURED_DOWNLOAD_CHIPPER=${UNSTRUCTURED_DOWNLOAD_CHIPPER:-"false"}
44

0 commit comments

Comments
 (0)