DeepLX Translate

function

Use DeepLX translation API to translate the user's native language into the large model's native language, and then translate it back into the user's native language.

opui
@opui
·
2 years ago
893
2
2.1K
Updated 2 years ago
Created Sep 26, 2024
deeplx_translate.py
Python · 179 lines
"""
title: DeepLX Translate
author: F-Droid
author_urls: https://linux.do/u/f-droid
description: |
    Use DeepLX translation API to translate the user's native language into the large model's native language, and then translate it back into the user's native language.
version: 1.0
licence: MIT
"""

import re
from typing import List, Optional

Use DeepLX translation API to translate the user's native language into the large model's native language, and then translate it back into the user's native language.


0