Using OpenAI and YNMT to Create a Paper
graph TB
id1(Start)-->id2[Access the YNMT/ChatGPT translation model]
subgraph
id2==Authenticate==>id3(Send the API and token to the data center)
id3-->id4[Authentication succeeded]
id3-->id5((End))
end
subgraph Translation
id4-->id6(Read the article paragraph by paragraph)
id6-->id7(Send it to the translation model)
id7-->id8(Get the return value)
id8-->id9((Create a TeX document))
end
Code Implementation
main.py
| |
Call the YNMT function to obtain the translation.
translate.py
| |
