소스 검색

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