Broken since yesterday [SOLVED]

#1
by Yntec - opened

@John6666 Hey, how's it going? Can you make this space run again? Or a duplicate of this one? (since it runs the code base I use for merging):

https://huggingface.co/spaces/Yntec/Dreamlike-Webui-CPU

It was working yesterday, today it shows this error:

'''Traceback (most recent call last):
File "/home/user/stable-diffusion-webui/launch.py", line 41, in
main()
File "/home/user/stable-diffusion-webui/launch.py", line 37, in main
start()
File "/home/user/stable-diffusion-webui/modules/launch_utils.py", line 411, in start
import webui
File "/home/user/stable-diffusion-webui/webui.py", line 43, in
import gradio # noqa: F401
File "/usr/local/lib/python3.10/site-packages/gradio/init.py", line 3, in
import gradio.components as components
File "/usr/local/lib/python3.10/site-packages/gradio/components/init.py", line 1, in
from gradio.components.annotated_image import AnnotatedImage
File "/usr/local/lib/python3.10/site-packages/gradio/components/annotated_image.py", line 8, in
from gradio_client.documentation import document, set_documentation_group
File "/usr/local/lib/python3.10/site-packages/gradio_client/init.py", line 1, in
from gradio_client.client import Client
File "/usr/local/lib/python3.10/site-packages/gradio_client/client.py", line 39, in
from gradio_client import utils
File "/usr/local/lib/python3.10/site-packages/gradio_client/utils.py", line 39, in
from websockets.asyncio.client import ClientConnection
ModuleNotFoundError: No module named 'websockets.asyncio'
'''

And then it runs into a loop and never builds... (right now it claims it's running, but it's stuck "Preparing space".)

EDIT - It's a file called "UNDERSCORE""UNDERSCORE"init"UNDERSCORE""UNDERSCORE".py - the forum format makes it look bold.

Hi!๐Ÿ˜€Anyway, I'm not feeling sick!

I(and r3gm ans some)'d been thinking Spaces was acting weird these past few days. Your error message gave me a clue! This change is probably the cause. Since Gradio 6 is releasing within the year, it seems things are changing in preparation for that.
So Spaces from Gradio 3 to 5 might be getting caught in the crossfire from those changes...
Anyway, it seems to work with this change. Try merging.

Thanks, for this and not letting the dream be over! It worked! I'm glad my clue was useful. I wonder if we're on borrowed time. Marking as solved!

Yntec changed discussion title from Broken since yesterday to Broken since yesterday [SOLVED]

Sign up or log in to comment