Skip to content
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

AttributeError: 'dict' object has no attribute 'split' #178

Closed
TwistedFromArma opened this issue Sep 9, 2022 · 5 comments
Closed

AttributeError: 'dict' object has no attribute 'split' #178

TwistedFromArma opened this issue Sep 9, 2022 · 5 comments

Comments

@TwistedFromArma
Copy link

Traceback (most recent call last):
File "C:\stable-diffusion-webui-master\venv\lib\site-packages\gradio\routes.py", line 259, in run_predict
output = await app.blocks.process_api(
File "C:\stable-diffusion-webui-master\venv\lib\site-packages\gradio\blocks.py", line 685, in process_api
inputs = self.preprocess_data(fn_index, inputs, state)
File "C:\stable-diffusion-webui-master\venv\lib\site-packages\gradio\blocks.py", line 591, in preprocess_data
processed_input.append(block.preprocess(raw_input[i]))
File "C:\stable-diffusion-webui-master\venv\lib\site-packages\gradio\components.py", line 1321, in preprocess
im = processing_utils.decode_base64_to_image(x)
File "C:\stable-diffusion-webui-master\venv\lib\site-packages\gradio\processing_utils.py", line 28, in decode_base64_to_image
content = encoding.split(";")[1]
AttributeError: 'dict' object has no attribute 'split'

@TwistedFromArma
Copy link
Author

this is in img2img of course

@VantomPayne
Copy link

Same thing, img2img only

@ThereforeGames
Copy link
Contributor

I sometimes encounter this as well. If you're lucky, you can get around it by switching to other tabs within img2img and clearing any input images there. Otherwise you have to refresh the browser page.

@Summersoff
Copy link

Same thing here, The only way is to refresh the whole page.

@AUTOMATIC1111
Copy link
Owner

gradio-app/gradio#2224

Sashimimochi pushed a commit to Sashimimochi/stable-diffusion-webui that referenced this issue Apr 7, 2023
nne998 pushed a commit to fjteam/stable-diffusion-webui that referenced this issue Sep 26, 2023
Fix support for half precision and `--upcast-sampling` on non-MPS devices, keep older web UI version support
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants