From a62c2af8161ae9a1483f7307ae8e3649201006d5 Mon Sep 17 00:00:00 2001 From: liuyebo <1515783401@qq.com> Date: Thu, 26 Sep 2024 16:23:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E5=9B=BE=E7=89=87=E7=9F=AB?= =?UTF-8?q?=E6=AD=A3=E6=8E=A5=E5=8F=A3ip?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- util/model_util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/model_util.py b/util/model_util.py index 5eba445..1f4c3f0 100644 --- a/util/model_util.py +++ b/util/model_util.py @@ -112,7 +112,7 @@ def request_dewarped_image(img_path): :param img_path: 待矫正图片路径 :return: 矫正后的图片路径 """ - url = 'http://127.0.0.1:5007/dewarp' + url = 'http://dewarp_api:5007/dewarp' response = requests.post(url, {'img_path': img_path}) if response.status_code == 200: return response.json()