AUTOMATIC1111 / stable-diffusion-webui

Stable Diffusion web UI
GNU Affero General Public License v3.0
143.88k stars 27.06k forks source link

[Bug]: --share not work with paperspace #15638

Open roxas1212 opened 7 months ago

roxas1212 commented 7 months ago

Checklist

What happened?

--share does not produce the correct link

Steps to reproduce the problem

Start WebUI

What should have happened?

Correct output link

What browsers do you use to access the UI ?

Google Chrome

Sysinfo

!python3.10 launch.py --share --xformers --enable-insecure-extension-access --gradio-queue --no-half-vae --opt-channelslast --theme dark

Console logs

Running on local URL:  http://127.0.0.1:7860

Could not create share link. Missing file: /usr/local/lib/python3.10/dist-packages/gradio/frpc_linux_amd64_v0.2. 

Please check your internet connection. This can happen if your antivirus software blocks the download of this file. You can install manually by following these steps: 

1. Download this file: https://cdn-media.huggingface.co/frpc-gradio-0.2/frpc_linux_amd64
2. Rename the downloaded file to: frpc_linux_amd64_v0.2
3. Move the file to this location: /usr/local/lib/python3.10/dist-packages/gradio
Startup time: 8.3s (prepare environment: 1.5s, import torch: 2.4s, import gradio: 0.8s, setup paths: 1.2s, initialize shared: 0.1s, other imports: 0.6s, load scripts: 0.5s, create ui: 0.4s, gradio launch: 0.7s).
Applying attention optimization: xformers... done.
Model loaded in 6.3s (create model: 1.2s, apply weights to model: 3.8s, calculate empty prompt: 0.9s).

Additional information

I cannot find "/usr/local/lib/python3.10/dist-packages/gradio" How to fix it?

missionfloyd commented 7 months ago

That would be a gradio issue. https://github.com/gradio-app/gradio