From 0c4e07bc5f2ca7815f72b925c6686e2dafbaba1c Mon Sep 17 00:00:00 2001 From: AI3721 <111349596+AI3721@users.noreply.github.com> Date: Mon, 25 Nov 2024 13:17:38 +0800 Subject: [PATCH] Update test.ipynb --- test/test.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test.ipynb b/test/test.ipynb index 62388b8..1652ee2 100644 --- a/test/test.ipynb +++ b/test/test.ipynb @@ -13,7 +13,7 @@ " \"save_fps\": 8, # 保存\n", "}\n", "files = {\"file\": open(\"input/test.png\", \"rb\")}\n", - "response = requests.post(\"http://192.168.13.121:8182/img2vid\", files=files, data=data)\n", + "response = requests.post(\"http://127.0.0.1:8182/img2vid\", files=files, data=data)\n", "with open(\"output/test.webp\", \"wb\") as f:\n", " f.write(response.content)" ] @@ -26,7 +26,7 @@ "source": [ "import requests\n", "json = {\"prompt\": \"a cute boy\", \"style\": \"Clay\", \"seed\": None, \"num\": 1}\n", - "response = requests.post(\"http://192.168.13.121:8183/text2img_lora\", json=json)\n", + "response = requests.post(\"http://127.0.0.1:8183/text2img_lora\", json=json)\n", "with open(\"output/test.png\", \"wb\") as f:\n", " f.write(response.content)" ]