Skip to content

Commit 9deb303

Browse files
committed
Bump version
1 parent 308fde9 commit 9deb303

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "surya-ocr"
3-
version = "0.12.0"
3+
version = "0.12.1"
44
description = "OCR, layout, reading order, and table recognition in 90+ languages"
55
authors = ["Vik Paruchuri <[email protected]>"]
66
readme = "README.md"

surya/scripts/run_streamlit_app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
def streamlit_app_cli():
66
cur_dir = os.path.dirname(os.path.abspath(__file__))
77
ocr_app_path = os.path.join(cur_dir, "streamlit_app.py")
8-
cmd = ["streamlit", "run", ocr_app_path, "--server.fileWatcherType", "none"]
8+
cmd = ["streamlit", "run", ocr_app_path, "--server.fileWatcherType", "none", "--server.headless", "true"]
99
subprocess.run(cmd, env={**os.environ, "IN_STREAMLIT": "true"})

surya/scripts/run_texify_app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
def texify_app_cli():
66
cur_dir = os.path.dirname(os.path.abspath(__file__))
77
ocr_app_path = os.path.join(cur_dir, "texify_app.py")
8-
cmd = ["streamlit", "run", ocr_app_path, "--server.fileWatcherType", "none"]
8+
cmd = ["streamlit", "run", ocr_app_path, "--server.fileWatcherType", "none", "--server.headless", "true"]
99
subprocess.run(cmd, env={**os.environ, "IN_STREAMLIT": "true"})

0 commit comments

Comments
 (0)