Skip to content

WebUI

Getting Started > Installation > WebUI (current)


Use PDFMathTranslate via Webui

How to open the WebUI page:

There are several methods to open the WebUI interface. If you are using Windows, please refer to this article;

  1. Python installed (3.10 <= version <= 3.13)

  2. Install our package:

  3. Start using in browser:

    pdf2zh_next --gui
    
  4. If your browswer has not been started automatically, goto

    http://localhost:7860/
    

    Drop the PDF file into the window and click Translate.

Environment Variables

You can set the source and target languages using environment variables:

  • PDF2ZH_LANG_FROM: Sets the source language. Defaults to "English".
  • PDF2ZH_LANG_TO: Sets the target language. Defaults to "Simplified Chinese".

Preview

Maintainance

GUI maintained by Rongxin