commit
c6a9ade561
|
|
@ -311,8 +311,9 @@ def get_inference_job(inference_job_id):
|
|||
path=f"{api_gateway_url}{url}",
|
||||
headers=headers,
|
||||
response=response,
|
||||
desc=f"Get inference job detail from cloud by ID ({inference_job_id}), ID from previous step: "
|
||||
"CreateInference -> data -> inference -> id")
|
||||
desc=f"Get inference job detail from cloud by ID ({inference_job_id}), "
|
||||
f"end request if data.status == succeed, "
|
||||
f"ID from previous step: CreateInference -> data -> inference -> id")
|
||||
return response.json()['data']
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -5,14 +5,14 @@ You only need to copy the relevant data structures and make minor modifications.
|
|||
|
||||
## Enable API Inference Debugger
|
||||
|
||||
> Note: This feature will be enabled by default after `1.4.1`
|
||||
|
||||
Login to EC2 with WebUI installed and execute the following command:
|
||||
If your WebUI interface does not display the API debugger button shown in the figure below,
|
||||
you may need to update the WebUI plugin code.
|
||||
Please switch to the plugin directory and execute the following command:
|
||||
|
||||
```Bash
|
||||
cd /home/ubuntu/stable-diffusion-webui/extensions/stable-diffusion-aws-extension
|
||||
git checkout main
|
||||
git pull
|
||||
git checkout api_debugger
|
||||
sudo systemctl restart sd-webui
|
||||
```
|
||||
Wait for the WebUI to restart and complete within approximately 3 minutes.
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
3. Open Stable Diffusion webUI, navigate to the 'Amazon SageMaker' tab, paste information from step 2 into fields **API URL** and **API Token**. Create a super admin user name and password by entering information in field **Username** and **Password**. And click **Test Connection & Update Setting**.
|
||||
4. Message **Successfully Connected & Setting Updated** will be printed once front UI successfully connected with backend cloud resource. The configuration file has been updated to automatically display corresponding information upon future launches of the webUI.
|
||||

|
||||
5. Restart the webUI in the background to ensure that all functionalities take effect.
|
||||
5. Restart the WebUI in the background to ensure that all functionalities take effect.
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -2,14 +2,12 @@
|
|||
|
||||
## 开启 API 推理调试器
|
||||
|
||||
> 注意:该功能将在 `1.4.1` 之后默认开启
|
||||
|
||||
登陆安装有 WebUI 的 EC2,执行以下命令:
|
||||
如果您的 WebUI 界面没有显示下图中的 API 调试器按钮,可能需要更新 WebUI 插件代码,请切换到插件目录,执行以下命令:
|
||||
|
||||
```bash
|
||||
cd /home/ubuntu/stable-diffusion-webui/extensions/stable-diffusion-aws-extension
|
||||
git checkout main
|
||||
git pull
|
||||
git checkout api_debugger
|
||||
sudo systemctl restart sd-webui
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue