"...git@developer.sourcefind.cn:OpenDAS/pytorch-encoding.git" did not exist on "2294439740071913d263922f19142788d46683a5"
Unverified Commit 374f464b authored by Xiaomeng Zhao's avatar Xiaomeng Zhao Committed by GitHub
Browse files

Update mineru/cli/gradio_app.py


Co-authored-by: default avatarCopilot <175728472+Copilot@users.noreply.github.com>
parent 7e6926ff
...@@ -259,7 +259,7 @@ def main(ctx, ...@@ -259,7 +259,7 @@ def main(ctx,
elif latex_delimiters_type == 'all': elif latex_delimiters_type == 'all':
latex_delimiters = latex_delimiters_type_all latex_delimiters = latex_delimiters_type_all
else: else:
raise Exception (f"Invalid latex delimiters type: {latex_delimiters_type}. ") raise ValueError(f"Invalid latex delimiters type: {latex_delimiters_type}.")
if sglang_engine_enable: if sglang_engine_enable:
try: try:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment