From 640b6d7138a403045cc0c7cf48c3ddcaefeb68f1 Mon Sep 17 00:00:00 2001 From: Jason M Head Date: Sat, 8 Apr 2023 16:40:11 +0900 Subject: [PATCH] Update app_gradio.py update demo ip address to local host --- SegGPT/app_gradio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SegGPT/app_gradio.py b/SegGPT/app_gradio.py index 0d25547..0b7e3f7 100644 --- a/SegGPT/app_gradio.py +++ b/SegGPT/app_gradio.py @@ -18,7 +18,7 @@ def inference_mask1(prompt, "img" : resizeImg(img), "img_" : resizeImg(img_) } - r = requests.post("http://120.92.79.209/painter/run", json = files) + r = requests.post("http://127.0.0.1/painter/run", json = files) a = json.loads(r.text) res = [] for i in range(len(a)):