Browse Source

feat: 更新 README 中的命令行示例以包含服务器端口参数

zhch158_admin 5 days ago
parent
commit
aac3279114
1 changed files with 2 additions and 2 deletions
  1. 2 2
      table_line_generator/README.md

+ 2 - 2
table_line_generator/README.md

@@ -35,10 +35,10 @@ OCR识别(bbox) → 自动分析 → 人工调整 → 保存模板 → 批量应
 
 ```bash
 # 读取缺省配置文件./table_line_generator.yaml
-streamlit run streamlit_table_line_editor.py
+streamlit run streamlit_table_line_editor.py --server.port 8502
 
 # 关键是在入口脚本名后加 --,后面的参数才会传递给脚本自身
-streamlit run streamlit_table_line_editor.py -- --config /path/to/custom.yaml
+streamlit run streamlit_table_line_editor.py --server.port 8502 -- --config /path/to/custom.yaml
 ```
 
 ### 3️⃣ 新建标注(第一页)