-
Notifications
You must be signed in to change notification settings - Fork 26.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HLEP~colab Error in last step #266
Comments
getting same error |
oh! yes i get the same! |
As a temporary measure, you can comment out the run_extras and run_pnginfo lines to avoid that. Or, if you must, assign then something else like run_extras=webui.wrap_gradio_gpu_call(webui.cmd_opts). You can still use text2img and img2img, though. Edit: Commenting out doesn't work. The variables are necessary, so assign them something else. Demonstrated below. |
hey! i really like this app (thank you @AUTOMATIC1111) and trying to get it back working for me in the colab. i do not use extras or upscaling, so your solution seems to fit my needs, but i do not understand what (file?) exactly to change and where? will super appreciate if you help a dummy. |
i update the collab and an anon confirmed it works for him now |
the previous error has changed to this one now: ValueError Traceback (most recent call last) in 1 frames /usr/local/lib/python3.7/dist-packages/gradio/blocks.py in launch(self, inline, inbrowser, share, debug, enable_queue, max_threads, auth, auth_message, prevent_thread_lock, show_error, server_name, server_port, show_tips, height, width, encrypt, favicon_path, ssl_keyfile, ssl_certfile, ssl_keyfile_password, quiet, _frontend) ValueError: When running in Google Colab or when localhost is not accessible, a shareable link must be created. Please set share=True. |
@AUTOMATIC1111 |
Although this should be (?) fixed by now, in case you or anyone else has a similar problem: In the final code cell (that launches the webui), you will find a code block that looks like this:
Instead, you can modify the last two lines turn it into this:
And the interface will launch without problems. |
I will check now whether it helped or not for collabs and unsubscribe. |
/content/stable-diffusion-webui Loading model from /content/stable-diffusion-webui/model.ckpt Global Step: 470000 LatentDiffusion: Running in eps-prediction mode DiffusionWrapper has 859.52 M params. making attention of type 'vanilla' with 512 in_channels Working with z of shape (1, 4, 32, 32) = 4096 dimensions. making attention of type 'vanilla' with 512 in_channels Running on local URL: http://127.0.0.1:7860/ To create a public link, set share=True in launch(). I try open http://127.0.0.1:7860/ - non work. Why? |
nice |
AttributeError: module 'webui' has no attribute 'run_extras'
T.T
The text was updated successfully, but these errors were encountered: