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

Error 500 when third party scripts are loaded. #43

Closed
ActuallyAuggie opened this issue Sep 29, 2022 · 5 comments
Closed

Error 500 when third party scripts are loaded. #43

ActuallyAuggie opened this issue Sep 29, 2022 · 5 comments
Labels
blocked Cannot be fixed until an external issue is corrected bug Something isn't working

Comments

@ActuallyAuggie
Copy link

ActuallyAuggie commented Sep 29, 2022

Diffusion UI works when only included scripts are loaded, but sends a 500 error message when a third party script is also loaded.

#40 #42 probably related, but a different solution will likely be required.

Guessing that gradio api listing is a blocking issue, but wanted to make you aware.

Console error message slightly different:

Traceback (most recent call last):
File "D:\teststable\stable-diffusion-webui\venv\lib\site-packages\gradio\routes.py", line 273, in run_predict
output = await app.blocks.process_api(
File "D:\teststable\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 739, in process_api
inputs = self.preprocess_data(fn_index, inputs, state)
File "D:\teststable\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 638, in preprocess_data
processed_input.append(block.preprocess(raw_input[i]))
File "D:\teststable\stable-diffusion-webui\venv\lib\site-packages\gradio\components.py", line 1067, in preprocess
return self.choices.index(x)
ValueError: '' is not in list

@leszekhanusz leszekhanusz added the bug Something isn't working label Sep 29, 2022
@leszekhanusz
Copy link
Owner

Yes, nothing I could do about that until gradio supports introspection...

@leszekhanusz leszekhanusz added the blocked Cannot be fixed until an external issue is corrected label Sep 29, 2022
@leszekhanusz
Copy link
Owner

I've just noticed that all the api info can be found on http://127.0.0.1:7860/config 🚀

@leszekhanusz
Copy link
Owner

Once the bug has been fixed in the automatic1111 fork, I'll merge the PR #46 which should fix this issue here.

@leszekhanusz
Copy link
Owner

@ActuallyAuggie Could you please verify that it now works correctly (Warning: you really need the latest automatic1111 version - as of 30 minutes ago)

@ActuallyAuggie
Copy link
Author

Fixed for me! I confirm the UI now works with third party scripts loaded. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked Cannot be fixed until an external issue is corrected bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants