From 187d990d2b3c4adc18ff6d9ee67610e75633395d Mon Sep 17 00:00:00 2001 From: dymik739 Date: Thu, 21 Sep 2023 19:30:18 +0300 Subject: [PATCH] translator: update translating server URL --- modules/translator/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/translator/index.py b/modules/translator/index.py index 56999ca..d9a7104 100644 --- a/modules/translator/index.py +++ b/modules/translator/index.py @@ -22,7 +22,7 @@ if (command[0] in self.aliases) and (1 <= command_length <= 3): "target": target, "format": "text"} - res = requests.post("http://127.0.0.1:5000/translate", data = data) + res = requests.post("http://10.1.1.1:5010/translate", data = data) result = json.loads(res.text) if source == "auto":