Skip to content

engchina/llm-ppt-translator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LLM PPT Translator

UI Preview

image-20241126081838873

Installation

conda create -n llm-ppt-translator python=3.11 -y
conda activate llm-ppt-translator
pip install -r requirements.txt
# pip list --format=freeze > requirements.txt

Configration

cp .env.example .env

Modify the following parameters:

  • For OCI GenAI
COMPARTMENT_ID=ocid1.compartment.oc1..******
CONFIG_PROFILE=DEFAULT
  • For OpenAI API
OPENAI_API_KEY=sk-******
OPENAI_BASE_URL=http://xxx.xxx.xxx.xxx:8000/v1
OPENAI_MODEL_NAME=gpt-4

Run

python main.py

Access

Open http://127.0.0.1:8080

Limitation

  • Not support SmartART

Welcome to WeChat

微信图片_20241126082444

Translated Result Samples

image-20241126081952034

image-20241126082008343

image-20241126082024391

image-20241126082041272

image-20241126082055254

image-20241126082119970

image-20241126082131561

image-20241126082146464

image-20241126082157871

image-20241126083706873

image-20241126082226906

image-20241126083728314

About

LLM PPT Translator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors