启动NovelAI时提示ValueError: When localhost is not accessible, a shareable link must be created. Please set share=True.

NovelAI 启动stable-diffusion-webui出现

ValueError: When localhost is not accessible, a shareable link must be created. Please set share=True.

如下问题

image

解决方法:

在set COMMANDLINE_ARGS=后增加参数”share”

image

- THE END -
版权声明:
转载原创文章请注明,文章出处://kinggoo.com
原文地址:https://kinggoo.com/ai-novelai-share-eq-true.htm
发表评论?

10 条评论。

  1. 刚好遇到了“ValueError: When localhost is not accessible, a shareable link must be created. Please set share=True.”的问题,和楼主一模一样。加了–share并没有解决耶,请问楼主之后是怎么解决的呢?

  2. 两个-

    • workspace/stable-diffusion-webui/modules/ui_extensions.py”, line 22, in check_access
      assert not shared.cmd_opts.disable_extension_access, “extension access disabled because of command line flags”
      AssertionError: extension access disabled because of command line flags

    • proc.wait(**kwargs)
      File “~/workspace/stable-diffusion-webui/venv/lib/python3.9/site-packages/git/cmd.py”, line 502, in wait
      raise GitCommandError(remove_password_if_present(self.args), status, errstr)
      git.exc.GitCommandError: Cmd(‘git’) failed due to: exit code(128)
      cmdline: git clone -v https://github.com/civitai/sd_civitai_extension /workspace/stable-diffusion-webui/tmp/sd_civitai_extension
      stderr: ‘Cloning into ‘~/workspace/stable-diffusion-webui/tmp/sd_civitai_extension ‘…
      fatal: protocol ‘ https’ is not supported

  3. Applying cross attention optimization (InvokeAI).
    Textual inversion embeddings loaded(0):
    Model loaded in 2.3s (create model: 0.6s, apply weights to model: 0.5s, apply half(): 0.5s, move model to device: 0.4s).
    Running on local URL: http://127.0.0.1:7860
    0%| | 0/20 [00:00‘ and ‘tensor<*xf16>‘ are not broadcast compatible
    LLVM ERROR: Failed to infer result type(s).
    [1] 24944 abort ./webui.sh –share –skip-torch-cuda-test
    /opt/homebrew/Cellar/python@3.9/3.9.13_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/resource_tracker.py:216: UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown
    warnings.warn(‘resource_tracker: There appear to be %d ‘

  4. Traceback (most recent call last):
    File “/workspace/stable-diffusion-webui/launch.py”, line 361, in
    start()
    File “/workspace/stable-diffusion-webui/launch.py”, line 356, in start
    webui.webui()
    File “workspace/stable-diffusion-webui/webui.py”, line 218, in webui
    app, local_url, share_url = shared.demo.launch(
    File “workspace/stable-diffusion-webui/venv/lib/python3.9/site-packages/gradio/blocks.py”, line 1418, in launch
    raise ValueError(
    ValueError: When localhost is not accessible, a shareable link must be created. Please set share=True.

发表评论


此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据