瀏覽代碼

feat: gui version

Byaidu 1 年之前
父節點
當前提交
dfda3e1dc9
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      pdf2zh/gui.py

+ 3 - 1
pdf2zh/gui.py

@@ -3,6 +3,7 @@ import re
 import subprocess
 import tempfile
 from pathlib import Path
+from pdf2zh import __version__
 
 import gradio as gr
 import numpy as np
@@ -315,7 +316,8 @@ with gr.Blocks(
                     <summary>Technical details</summary>
                     {text_markdown}
                     - GitHub: <a href="https://github.com/Byaidu/PDFMathTranslate">Byaidu/PDFMathTranslate</a><br>
-                    - GUI by: <a href="https://github.com/reycn">Rongxin</a>    
+                    - GUI by: <a href="https://github.com/reycn">Rongxin</a><br>
+                    - Version: {__version__}
                 </details>"""
                 return text