cp-20 / zenn-contents

2 stars 0 forks source link

zenn-contents/articles/stable-diffusion-webui-with-modal.mdのチュートリアルコードが実行できなくなった #1

Open KJZH001 opened 1 year ago

KJZH001 commented 1 year ago

zenn-contents/articles /stable-diffusion-webui-with-modal.mdのチュートリアルコードが動作しなくなりました モーダルに対する最近の多くの修正のため、問題のコードは現在実行できなくなっています。

*以下は私が修正したコードです。

最終的にwebuiを起動しようとするところまでは動作するのですが、次の依存関係の問題が私の能力を超えており、動作させることができません。この件に関して何かお力添えいただければ幸いです。ありがとうございました!

*私の日本語のレベルは限られているので、機械翻訳を使いました

from colorama import Fore
from pathlib import Path

import modal
import shutil
import subprocess
import sys
import shlex
import os

# Modal相关变量的定义
stub = modal.Stub("stable-diffusion-webui")
volume_main = modal.NetworkFileSystem.new("auto")

# 不同路径的定义
webui_dir = "/content/stable-diffusion-webui"
webui_model_dir = webui_dir + "/models/Stable-diffusion/"

# 模型的ID
model_ids = [
    {
        "repo_id": "hakurei/waifu-diffusion-v1-4",
        "model_path": "wd-1-4-anime_e1.ckpt",
        "config_file_path": "wd-1-4-anime_e1.yaml",
    },
]

@stub.function(
    image=modal.Image.from_dockerhub("python:3.8-slim")
    .apt_install(
        "git", "libgl1-mesa-dev", "libglib2.0-0", "libsm6", "libxrender1", "libxext6"
    )
    .run_commands(
        "pip install -e git+https://github.com/CompVis/taming-transformers.git@master#egg=taming-transformers"
    )
    # .pip_install(
    #     "blendmodes==2022",
    #     "transformers==4.25.1",
    #     "accelerate==0.12.0",
    #     "basicsr==1.4.2",
    #     "gfpgan==1.3.8",
    #     "gradio==3.16.2",
    #     "numpy==1.23.3",
    #     "Pillow==9.4.0",
    #     "realesrgan==0.3.0",
    #     "torch",
    #     "omegaconf==2.2.3",
    #     "pytorch_lightning==1.7.6",
    #     "scikit-image==0.19.2",
    #     "fonts",
    #     "font-roboto",
    #     "timm==0.6.7",
    #     "piexif==1.1.3",
    #     "einops==0.4.1",
    #     "jsonmerge==1.8.0",
    #     "clean-fid==0.1.29",
    #     "resize-right==0.0.2",
    #     "torchdiffeq==0.2.3",
    #     "kornia==0.6.7",
    #     "lark==1.1.2",
    #     "inflection==0.5.1",
    #     "GitPython==3.1.27",
    #     "torchsde==0.2.5",
    #     "safetensors==0.2.7",
    #     "httpcore<=0.15",
    #     "tensorboard==2.9.1",
    #     "taming-transformers==0.0.1",
    #     "clip",
    #     "xformers",
    #     "test-tube",
    #     "diffusers",
    #     "invisible-watermark",
    #     "pyngrok",
    #     "xformers==0.0.16rc425",
    #     "gdown",
    #     "huggingface_hub",
    #     "colorama",
    # )
    .pip_install(
        "blendmodes",
        "transformers",
        "accelerate",
        "basicsr",
        "gfpgan",
        "gradio",
        "numpy",
        "Pillow",
        "realesrgan",
        "torch",
        "omegaconf",
        "pytorch_lightning",
        "scikit-image",
        "fonts",
        "font-roboto",
        "timm",
        "piexif",
        "einops",
        "jsonmerge",
        "clean-fid",
        "resize-right",
        "torchdiffeq",
        "kornia",
        "lark",
        "inflection",
        "GitPython",
        "torchsde",
        "safetensors",
        "httpcore",
        "tensorboard",
        "taming-transformers",
        "clip",
        "xformers",
        "test-tube",
        "diffusers",
        "invisible-watermark",
        "pyngrok",
        "gdown",
        "huggingface_hub",
        "colorama",
        "fastapi",
        "open-clip-torch",
        "psutil",
        "requests",
        "tomesd",
    )
    .pip_install("git+https://github.com/mlfoundations/open_clip.git@bb6e834e9c70d9c27d0dc3ecedeebeaeb1ffad6b"),
    secret=modal.Secret.from_name("my-huggingface-secret"),
    network_file_systems={webui_dir: volume_main},
    gpu="a10g",
    timeout=6000,
    allow_cross_region_volumes=True,
)
async def run_stable_diffusion_webui():
    print(Fore.CYAN + "\n---------- 开始设置 ----------\n")

    webui_dir_path = Path(webui_model_dir)
    if not webui_dir_path.exists():
        subprocess.run(f"git clone -b v2.0 https://github.com/camenduru/stable-diffusion-webui {webui_dir}", shell=True)

    # 从Hugging face下载文件的函数
    def download_hf_file(repo_id, filename):
        from huggingface_hub import hf_hub_download

        download_dir = hf_hub_download(repo_id=repo_id, filename=filename)
        return download_dir

    for model_id in model_ids:
        print(Fore.GREEN + "开始设置" + model_id["repo_id"] + "...")

        if not Path(webui_model_dir + model_id["model_path"]).exists():
            # 下载并复制模型
            model_downloaded_dir = download_hf_file(
                model_id["repo_id"],
                model_id["model_path"],
            )
            shutil.copy(model_downloaded_dir, webui_model_dir + os.path.basename(model_id["model_path"]))

        if "config_file_path" not in model_id:
          continue

        if not Path(webui_model_dir + model_id["config_file_path"]).exists():
            # 下载并复制配置文件
            config_downloaded_dir = download_hf_file(
                model_id["repo_id"], model_id["config_file_path"]
            )
            shutil.copy(config_downloaded_dir, webui_model_dir + os.path.basename(model_id["config_file_path"]))

        print(Fore.GREEN + "设置" + model_id["repo_id"] + "完成!")

    print(Fore.CYAN + "\n---------- 设置完成 ----------\n")

    # 启动WebUI
    sys.path.append(webui_dir)
    sys.argv += shlex.split("--skip-install --xformers")
    os.chdir(webui_dir)
    from launch import start, prepare_environment

    prepare_environment()
    # 第一个参数会被忽略,所以要注意
    sys.argv = shlex.split("--a --gradio-debug --share --xformers")
    start()

@stub.local_entrypoint()
def main():
    run_stable_diffusion_webui.remote()
cp-20 commented 11 months ago

https://github.com/cp-20/zenn-contents/commit/86399ffbb80f84222923859b94e7cf75971ee082 で修正されたはずです modal client version: 0.52.3560 で実行してみてください

KJZH001 commented 11 months ago

86399ff で修正されたはずです modal client version: 0.52.3560 で実行してみてください

修正ありがとうございました。しかし、ファイルをフェッチするスクリプトにはまだ問題があるようで、以下の環境では実行できません。

また、2) コードを動かしてみる ここのコードは実は公式ホームページにあります。更新されていますが、あなたの投稿にはありません。

修正されることを願っています!ありがとうございます

cp-20 commented 11 months ago

https://github.com/cp-20/zenn-contents/commit/85417bad2e912001448b0fbcead126dd408351ac で修正しました 遅くなって申し訳ないです

KJZH001 commented 11 months ago

为了在一定程度上防止出现歧义,我将中文和日文分开发送 曖昧さをある程度防ぐために、私は中国語と日本語を別々に送ります

CN

首先,还是感谢您的修正,抱歉来迟了

不过问题并没有完全得到解决

(venv) E:\Git仓库\[Modal]SD-webui>modal run download-output.py
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
│ C:\Program Files\python\lib\runpy.py:194 in _run_module_as_main                                  │
│                                                                                                  │
│   193 │   │   sys.argv[0] = mod_spec.origin                                                      │
│ ❱ 194 │   return _run_code(code, main_globals, None,                                             │
│   195 │   │   │   │   │    "__main__", mod_spec)                                                 │
│                                                                                                  │
│ C:\Program Files\python\lib\runpy.py:87 in _run_code                                             │
│                                                                                                  │
│    86 │   │   │   │   │      __spec__ = mod_spec)                                                │
│ ❱  87 │   exec(code, run_globals)                                                                │
│    88 │   return run_globals                                                                     │
│                                                                                                  │
│ E:\Git仓库\[Modal]SD-webui\venv\Scripts\modal.exe\__main__.py:7 in <module>                      │
│                                                                                                  │
│                                                                                                  │
│ e:\git仓库\[modal]sd-webui\venv\lib\site-packages\modal\__main__.py:9 in main                    │
│                                                                                                  │
│    8 │   setup_rich_traceback()                                                                  │
│ ❱  9 │   entrypoint_cli()                                                                        │
│   10                                                                                             │
│                                                                                                  │
│ e:\git仓库\[modal]sd-webui\venv\lib\site-packages\click\core.py:1157 in __call__                 │
│                                                                                                  │
│   1156 │   │   """Alias for :meth:`main`."""                                                     │
│ ❱ 1157 │   │   return self.main(*args, **kwargs)                                                 │
│   1158                                                                                           │
│                                                                                                  │
│ e:\git仓库\[modal]sd-webui\venv\lib\site-packages\typer\core.py:778 in main                      │
│                                                                                                  │
│   777 │   ) -> Any:                                                                              │
│ ❱ 778 │   │   return _main(                                                                      │
│   779 │   │   │   self,                                                                          │
│                                                                                                  │
│ e:\git仓库\[modal]sd-webui\venv\lib\site-packages\typer\core.py:216 in _main                     │
│                                                                                                  │
│   215 │   │   │   with self.make_context(prog_name, args, **extra) as ctx:                       │
│ ❱ 216 │   │   │   │   rv = self.invoke(ctx)                                                      │
│   217 │   │   │   │   if not standalone_mode:                                                    │
│                                                                                                  │
│ e:\git仓库\[modal]sd-webui\venv\lib\site-packages\click\core.py:1688 in invoke                   │
│                                                                                                  │
│   1687 │   │   │   │   with sub_ctx:                                                             │
│ ❱ 1688 │   │   │   │   │   return _process_result(sub_ctx.command.invoke(sub_ctx))               │
│   1689                                                                                           │
│                                                                                                  │
│ e:\git仓库\[modal]sd-webui\venv\lib\site-packages\click\core.py:1682 in invoke                   │
│                                                                                                  │
│   1681 │   │   │   with ctx:                                                                     │
│ ❱ 1682 │   │   │   │   cmd_name, cmd, args = self.resolve_command(ctx, args)                     │
│   1683 │   │   │   │   assert cmd is not None                                                    │
│                                                                                                  │
│ e:\git仓库\[modal]sd-webui\venv\lib\site-packages\click\core.py:1729 in resolve_command          │
│                                                                                                  │
│   1728 │   │   # Get the command                                                                 │
│ ❱ 1729 │   │   cmd = self.get_command(ctx, cmd_name)                                             │
│   1730                                                                                           │
│                                                                                                  │
│ e:\git仓库\[modal]sd-webui\venv\lib\site-packages\modal\cli\run.py:162 in get_command            │
│                                                                                                  │
│   161 │   def get_command(self, ctx, func_ref):                                                  │
│ ❱ 162 │   │   function_or_entrypoint = import_function(func_ref, accept_local_entrypoint=True,   │
│   163 │   │   stub: Stub = function_or_entrypoint.stub                                           │
│                                                                                                  │
│ e:\git仓库\[modal]sd-webui\venv\lib\site-packages\modal\cli\import_refs.py:217 in                │
│ import_function                                                                                  │
│                                                                                                  │
│   216 │   try:                                                                                   │
│ ❱ 217 │   │   module = import_file_or_module(import_ref.file_or_module)                          │
│   218 │   │   obj_path = import_ref.object_path or DEFAULT_STUB_NAME  # get variable named "st   │
│                                                                                                  │
│ e:\git仓库\[modal]sd-webui\venv\lib\site-packages\modal\cli\import_refs.py:75 in                 │
│ import_file_or_module                                                                            │
│                                                                                                  │
│    74 │   │   sys.modules[module_name] = module                                                  │
│ ❱  75 │   │   spec.loader.exec_module(module)                                                    │
│    76 │   else:                                                                                  │
│ <frozen importlib._bootstrap_external>:783 in exec_module                                        │
│                                                                                                  │
│ <frozen importlib._bootstrap>:219 in _call_with_frames_removed                                   │
│                                                                                                  │
│                                                                                                  │
│ E:\Git仓库\[Modal]SD-webui\download-output.py:19 in <module>                                     │
│                                                                                                  │
│   18 )                                                                                           │
│ ❱ 19 def list_output_image_path(cache: list[str]):                                               │
│   20   absolute_remote_outputs_dir = os.path.join(webui_dir, remote_outputs_dir)                 │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
TypeError: 'type' object is not subscriptable

这是发生在取回文件时的错误,我尝试将19行的def list_output_image_path(cache: list[str]):修改为def list_output_image_path(cache: list):

这样它能够通过编译,但即使如此,它也无法取回任何的文件

(venv) E:\Git仓库\[Modal]SD-webui>modal run download-output.py
✓ Initialized. View app at https://modal.com/apps/ap-qx8iBTP7zG5HL7zvB8CYm4
✓ Created objects.
├── 🔨 Created list_output_image_path.
└── 🔨 Created mount E:\Git仓库[Modal]SD-webui\download-output.py

0ファイルのダウンロードを行います

ダウンロードが完了しました

Timed out waiting for logs. View logs at https://modal.com/logs/ap-qx8iBTP7zG5HL7zvB8CYm4 for remaining output.
✓ App completed.

请问您可以修复一下这个错误吗?

另外我想借助GPT辅助翻译并转载您关于stable diffusion的这篇文章,我会保留您的署名和github的仓库来源信息,希望能够征得您的同意

KJZH001 commented 11 months ago

JP

まずは、修正ありがとうございます。遅くなってすみません

しかし問題は完全に解決されていない

(venv) E:\Git仓库\[Modal]SD-webui>modal run download-output.py
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
│ C:\Program Files\python\lib\runpy.py:194 in _run_module_as_main                                  │
│                                                                                                  │
│   193 │   │   sys.argv[0] = mod_spec.origin                                                      │
│ ❱ 194 │   return _run_code(code, main_globals, None,                                             │
│   195 │   │   │   │   │    "__main__", mod_spec)                                                 │
│                                                                                                  │
│ C:\Program Files\python\lib\runpy.py:87 in _run_code                                             │
│                                                                                                  │
│    86 │   │   │   │   │      __spec__ = mod_spec)                                                │
│ ❱  87 │   exec(code, run_globals)                                                                │
│    88 │   return run_globals                                                                     │
│                                                                                                  │
│ E:\Git仓库\[Modal]SD-webui\venv\Scripts\modal.exe\__main__.py:7 in <module>                      │
│                                                                                                  │
│                                                                                                  │
│ e:\git仓库\[modal]sd-webui\venv\lib\site-packages\modal\__main__.py:9 in main                    │
│                                                                                                  │
│    8 │   setup_rich_traceback()                                                                  │
│ ❱  9 │   entrypoint_cli()                                                                        │
│   10                                                                                             │
│                                                                                                  │
│ e:\git仓库\[modal]sd-webui\venv\lib\site-packages\click\core.py:1157 in __call__                 │
│                                                                                                  │
│   1156 │   │   """Alias for :meth:`main`."""                                                     │
│ ❱ 1157 │   │   return self.main(*args, **kwargs)                                                 │
│   1158                                                                                           │
│                                                                                                  │
│ e:\git仓库\[modal]sd-webui\venv\lib\site-packages\typer\core.py:778 in main                      │
│                                                                                                  │
│   777 │   ) -> Any:                                                                              │
│ ❱ 778 │   │   return _main(                                                                      │
│   779 │   │   │   self,                                                                          │
│                                                                                                  │
│ e:\git仓库\[modal]sd-webui\venv\lib\site-packages\typer\core.py:216 in _main                     │
│                                                                                                  │
│   215 │   │   │   with self.make_context(prog_name, args, **extra) as ctx:                       │
│ ❱ 216 │   │   │   │   rv = self.invoke(ctx)                                                      │
│   217 │   │   │   │   if not standalone_mode:                                                    │
│                                                                                                  │
│ e:\git仓库\[modal]sd-webui\venv\lib\site-packages\click\core.py:1688 in invoke                   │
│                                                                                                  │
│   1687 │   │   │   │   with sub_ctx:                                                             │
│ ❱ 1688 │   │   │   │   │   return _process_result(sub_ctx.command.invoke(sub_ctx))               │
│   1689                                                                                           │
│                                                                                                  │
│ e:\git仓库\[modal]sd-webui\venv\lib\site-packages\click\core.py:1682 in invoke                   │
│                                                                                                  │
│   1681 │   │   │   with ctx:                                                                     │
│ ❱ 1682 │   │   │   │   cmd_name, cmd, args = self.resolve_command(ctx, args)                     │
│   1683 │   │   │   │   assert cmd is not None                                                    │
│                                                                                                  │
│ e:\git仓库\[modal]sd-webui\venv\lib\site-packages\click\core.py:1729 in resolve_command          │
│                                                                                                  │
│   1728 │   │   # Get the command                                                                 │
│ ❱ 1729 │   │   cmd = self.get_command(ctx, cmd_name)                                             │
│   1730                                                                                           │
│                                                                                                  │
│ e:\git仓库\[modal]sd-webui\venv\lib\site-packages\modal\cli\run.py:162 in get_command            │
│                                                                                                  │
│   161 │   def get_command(self, ctx, func_ref):                                                  │
│ ❱ 162 │   │   function_or_entrypoint = import_function(func_ref, accept_local_entrypoint=True,   │
│   163 │   │   stub: Stub = function_or_entrypoint.stub                                           │
│                                                                                                  │
│ e:\git仓库\[modal]sd-webui\venv\lib\site-packages\modal\cli\import_refs.py:217 in                │
│ import_function                                                                                  │
│                                                                                                  │
│   216 │   try:                                                                                   │
│ ❱ 217 │   │   module = import_file_or_module(import_ref.file_or_module)                          │
│   218 │   │   obj_path = import_ref.object_path or DEFAULT_STUB_NAME  # get variable named "st   │
│                                                                                                  │
│ e:\git仓库\[modal]sd-webui\venv\lib\site-packages\modal\cli\import_refs.py:75 in                 │
│ import_file_or_module                                                                            │
│                                                                                                  │
│    74 │   │   sys.modules[module_name] = module                                                  │
│ ❱  75 │   │   spec.loader.exec_module(module)                                                    │
│    76 │   else:                                                                                  │
│ <frozen importlib._bootstrap_external>:783 in exec_module                                        │
│                                                                                                  │
│ <frozen importlib._bootstrap>:219 in _call_with_frames_removed                                   │
│                                                                                                  │
│                                                                                                  │
│ E:\Git仓库\[Modal]SD-webui\download-output.py:19 in <module>                                     │
│                                                                                                  │
│   18 )                                                                                           │
│ ❱ 19 def list_output_image_path(cache: list[str]):                                               │
│   20   absolute_remote_outputs_dir = os.path.join(webui_dir, remote_outputs_dir)                 │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
TypeError: 'type' object is not subscriptable

これはファイルをフェッチする際に発生したエラーです。19行の「def list output image path(cache:list[str]):」を「def list output image path(cache:list):」に変更しようとしました。

これによりコンパイルできますが、それでもファイルをフェッチすることはできません

(venv) E:\Git仓库\[Modal]SD-webui>modal run download-output.py
✓ Initialized. View app at https://modal.com/apps/ap-qx8iBTP7zG5HL7zvB8CYm4
✓ Created objects.
├── 🔨 Created list_output_image_path.
└── 🔨 Created mount E:\Git仓库[Modal]SD-webui\download-output.py

0ファイルのダウンロードを行います

ダウンロードが完了しました

Timed out waiting for logs. View logs at https://modal.com/logs/ap-qx8iBTP7zG5HL7zvB8CYm4 for remaining output.
✓ App completed.

このエラーを修正していただけませんか。

また、GPT支援を借りてstable diffusionについてのこの記事を翻訳して転載したいと思います。私はあなたの署名とgithubの倉庫の出所情報を保留して、あなたの同意を得ることができることを望んでいます

cp-20 commented 11 months ago

Pythonのバージョンはいくつですか?

記事化は全然OKです!公開されたらぜひ見せてもらえると嬉しいです

KJZH001 commented 11 months ago
(venv) E:\Git仓库\[Modal]SD-webui>python --version
Python 3.8.6

(venv) E:\Git仓库\[Modal]SD-webui>pip list
Package            Version
------------------ -----------
aiohttp            3.8.5
aiosignal          1.3.1
aiostream          0.4.5
annotated-types    0.5.0
anyio              4.0.0
asgiref            3.7.2
async-timeout      4.0.3
attrs              23.1.0
certifi            2023.7.22
charset-normalizer 3.2.0
click              8.1.7
cloudpickle        2.0.0
colorama           0.4.6
exceptiongroup     1.1.3
fastapi            0.103.0
frozenlist         1.4.0
grpclib            0.4.3
h2                 4.1.0
hpack              4.0.0
hyperframe         6.0.1
idna               3.4
importlib-metadata 6.8.0
markdown-it-py     3.0.0
mdurl              0.1.2
modal              0.54.3821
modal-client       0.51.3294
multidict          6.0.4
pip                23.2.1
protobuf           4.24.2
pydantic           2.3.0
pydantic_core      2.6.3
Pygments           2.16.1
rich               13.5.2
setuptools         49.2.1
sigtools           4.0.1
sniffio            1.3.0
starlette          0.27.0
synchronicity      0.5.3
tblib              2.0.0
toml               0.10.2
typer              0.9.0
types-certifi      2021.10.8.3
types-toml         0.10.8.7
typing_extensions  4.7.1
watchfiles         0.20.0
yarl               1.9.2
zipp               3.16.2

(venv) E:\Git仓库\[Modal]SD-webui>

これが現在私が使用している環境ですが、modalはリモートのコンテナでコードを実行しているはずです。リモート実行のコードはローカルとは関連がないのではないでしょうか。

また、私があなたの文章を転載して翻訳することに同意してくれて嬉しいです。

cp-20 commented 11 months ago

自分の環境は 3.11.1 なので、3.11.xぐらいで試してもらえますか?

KJZH001 commented 11 months ago

自分の環境は 3.11.1 なので、3.11.xぐらいで試してもらえますか?

本当に私の環境の問題かもしれませんが、これは私が今日再インストールしたばかりのpy 3.11.1です。

しかし不思議なことに、取り込まれた画像の個数は依然として0である。

個人的には、これはmodalがネットワークストレージボリュームを解放したことによるものではないかと推測しています

後でstable-diffusion-webui.pyを再利用して画像を生成して、取り戻すことができるかどうかを見に行きます

ご協力ありがとうございました

E:\Git仓库\[Modal]SD-webui>python --version
Python 3.11.1

E:\Git仓库\[Modal]SD-webui>modal run download-output.py
✓ Initialized. View app at https://modal.com/apps/ap-AF54k4gvAexBRDgHbKp4Pm
✓ Created objects.
├── 🔨 Created list_output_image_path.
└── 🔨 Created mount E:\Git仓库[Modal]SD-webui\download-output.py

0ファイルのダウンロードを行います

ダウンロードが完了しました

✓ App completed.

E:\Git仓库\[Modal]SD-webui>pip list
Package            Version
------------------ -----------
aiohttp            3.8.6
aiosignal          1.3.1
aiostream          0.5.1
annotated-types    0.6.0
anyio              3.7.1
asgiref            3.7.2
async-timeout      4.0.3
attrs              23.1.0
certifi            2023.7.22
charset-normalizer 3.3.0
click              8.1.7
cloudpickle        2.2.1
colorama           0.4.6
fastapi            0.103.2
frozenlist         1.4.0
grpclib            0.4.3
h2                 4.1.0
hpack              4.0.0
hyperframe         6.0.1
idna               3.4
importlib-metadata 6.8.0
markdown-it-py     3.0.0
mdurl              0.1.2
modal              0.54.3821
multidict          6.0.4
pip                23.3
protobuf           4.24.4
pydantic           2.4.2
pydantic_core      2.10.1
Pygments           2.16.1
rich               13.6.0
setuptools         68.2.2
sigtools           4.0.1
sniffio            1.3.0
starlette          0.27.0
synchronicity      0.5.3
tblib              2.0.0
toml               0.10.2
typer              0.9.0
types-certifi      2021.10.8.3
types-toml         0.10.8.7
typing_extensions  4.8.0
watchfiles         0.21.0
wheel              0.41.2
yarl               1.9.2
zipp               3.17.0

E:\Git仓库\[Modal]SD-webui>
KJZH001 commented 11 months ago

image

私はいくつかのテストをしました

stable difussionで画像を生成し、すぐにdownload-output.pyを使用して画像をフェッチします

戻ってきたのもやはり0枚(上のスクリーンショットと同じ)