Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
tastelikefeet committed Dec 17, 2024
1 parent b86c9a8 commit a898465
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,11 @@ Note that the computing resources of the demo are limited, so please avoid abusi

We provide four methods for using this project: [Commandline](#cmd), [Portable](#portable), [GUI](#gui), and [Docker](#docker).

pdf2zh needs an extra model(`wybxc/DocLayout-YOLO-DocStructBench-onnx`), which can be found in modelscope. if you have a problem with downloading this model, try this environment variable:
```shell
USE_MODELSCOPE=1 pdf2zh
```

<h3 id="cmd">Method I. Commandline</h3>

1. Python installed (3.8 <= version <= 3.12)
Expand Down
6 changes: 6 additions & 0 deletions README_ja-JP.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,12 @@

このプロジェクトを使用するための4つの方法を提供しています:[コマンドライン](#cmd)[ポータブル](#portable)[GUI](#gui)、および [Docker](#docker)

pdf2zhの実行には追加モデル(`wybxc/DocLayout-YOLO-DocStructBench-onnx`)が必要です。このモデルはModelScopeでも見つけることができます。起動時にこのモデルのダウンロードに問題がある場合は、以下の環境変数を使用してください:

```shell
USE_MODELSCOPE=1 pdf2zh
```

<h3 id="cmd">方法1. コマンドライン</h3>

1. Pythonがインストールされていること (バージョン3.8 <= バージョン <= 3.12)
Expand Down
5 changes: 5 additions & 0 deletions README_zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,11 @@

我们提供了四种使用该项目的方法:[命令行工具](#cmd)[便携式安装](#portable)[图形交互界面](#gui)[容器化部署](#docker).

pdf2zh的运行依赖于额外模型(`wybxc/DocLayout-YOLO-DocStructBench-onnx`),该模型在魔搭上也可以找到。如果你在启动时下载该模型遇到问题,请使用如下环境变量:
```shell
USE_MODELSCOPE=1 pdf2zh
```

<h3 id="cmd">方法一、命令行工具</h3>

1. 确保安装了版本大于 3.8 且小于 3.12 的 Python
Expand Down

0 comments on commit a898465

Please sign in to comment.