Open bennitheblog opened 2 years ago
I have this error too.
me too...
A1111 probably made a syntax error, they will fix it quickly, keep to box "update_repo" checked and run it until the problem is fixed
Referencing the issue https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/4330
Open the hypernetwork.py at /content/stable-diffusion-webui/modules/hypernetworks/hypernetwork.py then remove the code from line 428 to 455 solved the problem (for me).
Open the hypernetwork.py at /content/stable-diffusion-webui/modules/hypernetworks/hypernetwork.py then remove the code from line 428 to 455 solved the problem (for me).
If you do that, you will have to remove hypernetwork.py later to allow the repo update, otherwise it won't update
Last cell in the Google Colab started failing for me today; was running on an older version but even after using the newest linked version here, still having this error:
Traceback (most recent call last): File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/webui.py", line 13, in
from modules import devices, sd_samplers, upscaler, extensions
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/sd_samplers.py", line 11, in
from modules import prompt_parser, devices, processing, images
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/processing.py", line 14, in
import modules.sd_hijack
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/sd_hijack.py", line 10, in
import modules.textual_inversion.textual_inversion
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/textual_inversion/textual_inversion.py", line 13, in
from modules import shared, devices, sd_hijack, processing, sd_models, images
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/shared.py", line 19, in
from modules.hypernetworks import hypernetwork
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/hypernetworks/hypernetwork.py", line 433
if (optimizer_name := hypernetwork.optimizer_name) in optimizer_dict:
^
SyntaxError: invalid syntax