Watch Question

Error after running Start stable-diffusion

Related to: AI Unlimited
Date: 16/01/2023 19:21
User: Charles Demain
Awards:
After I run Start stable diffusion I get the error message:

FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/lib/python3.8/dist-packages/gradio/blocks.py' -> '/usr/local/lib/python3.8/dist-packages/gradio/blocks.py.bak'

I Have Removed the SD file

Here is the code

---------------------------------------------------------------------------
FileNotFoundError Traceback (most recent call last)
in
62 if Use_Gradio_Server:
63 share='--share'
---> 64 for line in fileinput.input('/usr/local/lib/python3.8/dist-packages/gradio/blocks.py', inplace=True):
65 if line.strip().startswith('self.server_name ='):
66 line = ' self.server_name = server_name\n'

1 frames
/usr/lib/python3.8/fileinput.py in _readline(self)
340 pass
341 # The next few lines may raise OSError
--> 342 os.rename(self._filename, self._backupfilename)
343 self._file = open(self._backupfilename, self._mode)
344 try:

FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/lib/python3.8/dist-packages/gradio/blocks.py' -> '/usr/local/lib/python3.8/dist-packages/gradio/blocks.py.bak'

As I said above I have Removed the SD folder.

Thanks for your assistance

Answers

Date: 15/01/2023 16:03
User: Jorge Vila
Awards:
The SD Folder must be remover before starting the proccess, At the end, it should be created, let me know!
Jorge
Date: 15/01/2023 17:02
User: Charles Demain
Awards:
Hi Jorge,

I have removed the SD file and gone through the set up process three or four times (removing the SD folder each time) and I still get the error message.

Every other stage of the process gets a green tick until I run Start stable diffusion and I get the error message each time.

Any assistance appreciated.

Thanks.
Date: 15/01/2023 17:20
User: Jorge Vila
Awards:
OK, which is the proccess you are following? 1.5 or 2.1?
Date: 16/01/2023 10:42
User: Charles Demain
Awards:
I'm following 1.5
Date: 16/01/2023 14:37
User: Jorge Vila
Awards:
OK, just checked it out!
At this momento we need to do some changes in the code because of a change in Stable Diffusion.
You still can try using 2.1 model
Let me know
We will update as it's solved!
Jorge
Date: 16/01/2023 19:21
User: Charles Demain
Awards:
Respuesta Aprobada
I've got 2.1 running.

Thanks for you help Jorge.

Chas.
Date: 16/01/2023 18:36
User: Charles Demain
Awards:


Copyright jorgevila.com 2024

Helpdesk system developed for online help. If you need to contact me or use this system in your products, contact me through jorge@jorgevila.com