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":