Skip to content

Commit

Permalink
fix: remove spurious whitespace in app-start.sh (#262)
Browse files Browse the repository at this point in the history
Resolves issue #261

---------

Co-authored-by: Austin Walker <[email protected]>
  • Loading branch information
glorat and awalker4 authored Sep 29, 2023
1 parent c314650 commit 2e655c6
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.0.49

* Remove spurious whitespace in `app-start.sh`. **This fixes deployments in some envs such as Google Cloud Run**.

## 0.0.48

* **Adds `languages` kwarg** `ocr_languages` will eventually be deprecated and replaced by `lanugages` to specify what languages to use for OCR
Expand Down
2 changes: 1 addition & 1 deletion prepline_general/api/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
app = FastAPI(
title="Unstructured Pipeline API",
description="""""",
version="0.0.48",
version="0.0.49",
docs_url="/general/docs",
openapi_url="/general/openapi.json",
)
Expand Down
2 changes: 1 addition & 1 deletion prepline_general/api/general.py
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ def return_content_type(filename):


@router.post("/general/v0/general")
@router.post(f"/general/v{app.version}/general")
@router.post(f"/general/v0.0.49/general")
def pipeline_1(
request: Request,
gz_uncompressed_content_type: Optional[str] = Form(default=None),
Expand Down
2 changes: 1 addition & 1 deletion preprocessing-pipeline-family.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
name: general
version: 0.0.48
version: 0.0.49
2 changes: 1 addition & 1 deletion scripts/app-start.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/usr/bin/env bash

UNSTRUCTURED_DOWNLOAD_CHIPPER=${UNSTRUCTURED_DOWNLOAD_CHIPPER:-"false"}

Expand Down

0 comments on commit 2e655c6

Please sign in to comment.