Open GeorgeSpiller opened 11 months ago
The same problem at local A1111. Tabs don't appear too. On loading this error appears:
Error executing callback ui_tabs_callback for D:\AI\SD1111\stable-diffusion-webui-master\extensions\deforum\scripts\deforum.py
Traceback (most recent call last):
File "D:\AI\SD1111\stable-diffusion-webui-master\modules\script_callbacks.py", line 125, in ui_tabs_callback
res += c.callback() or []
File "D:\AI\SD1111\stable-diffusion-webui-master\extensions\deforum\scripts\deforum_helpers\ui_right.py", line 41, in on_ui_tabs
components = setup_deforum_left_side_ui()
File "D:\AI\SD1111\stable-diffusion-webui-master\extensions\deforum\scripts\deforum_helpers\ui_left.py", line 46, in setup_deforum_left_side_ui
tab_run_params = get_tab_run(d, da) # Run tab
File "D:\AI\SD1111\stable-diffusion-webui-master\extensions\deforum\scripts\deforum_helpers\ui_elements.py", line 48, in get_tab_run
sampler = create_gr_elem(d.sampler)
File "D:\AI\SD1111\stable-diffusion-webui-master\extensions\deforum\scripts\deforum_helpers\ui_elements.py", line 38, in create_gr_elem
return obj_type(**params)
File "D:\AI\SD1111\stable-diffusion-webui-master\venv\lib\site-packages\gradio\components.py", line 1306, in __init__
self.test_input = self.choices[0] if len(self.choices) else None
TypeError: 'dict_values' object is not subscriptable
I have the same error, I don't know for sure yet, maybe it's some extension that's interfering. Since I tried another version of A1111, portable build, updated 1.7., it makes videos in general without problems. After I went back to the regular version, uninstalled, installed and tried again and alas, the error is still the same. Maybe something is getting in the way, I don't know why it's like that. I'm still on 1.6. Sorry for the crookedly written message)
Same problem
*** Error executing callback ui_tabs_callback for X:\Stable-Diffusion\extensions\deforum-for-automatic1111-webui\scripts\deforum.py
Traceback (most recent call last):
File "D:\Portable-Stable-Diffusion\modules\script_callbacks.py", line 169, in ui_tabs_callback
res += c.callback() or []
File "X:\Stable-Diffusion\extensions\deforum-for-automatic1111-webui\scripts\deforum_helpers\ui_right.py", line 92, in on_ui_tabs
deforum_gallery, generation_info, html_info, _ = create_output_panel("deforum", opts.outdir_img2img_samples)
TypeError: cannot unpack non-iterable OutputPanel object
@alexbofa , not sure if you have found a solution to this yet. But I looked into the code for a bit. I'm assuming you're running automatic1111 on the dev branch. 3 weeks ago there was a change done there: https://github.com/AUTOMATIC1111/stable-diffusion-webui/commit/501993ebf210bf3b55173ec1910f0c84c7e75424
I've fixed it locally by changing the file "ui_right.py" in /extensions/sd-webui-deforum/scripts/deforum_helpers/ui_right.py.
line 92 should be replaced by:
output_panel = create_output_panel("deforum", opts.outdir_img2img_samples)
and line 107 to 112 should be replaced by:
outputs=[
output_panel.gallery,
components["resume_timestring"],
output_panel.generation_info,
output_panel.html_log
],
make sure the indenting is right ^^. I'd make a pr but the code is not compatible with the main branch.
@alexbofa , not sure if you have found a solution to this yet. But I looked into the code for a bit. I'm assuming you're running automatic1111 on the dev branch. 3 weeks ago there was a change done there: AUTOMATIC1111/stable-diffusion-webui@501993e
I've fixed it locally by changing the file "ui_right.py" in /extensions/sd-webui-deforum/scripts/deforum_helpers/ui_right.py.
line 92 should be replaced by:
output_panel = create_output_panel("deforum", opts.outdir_img2img_samples)
and line 107 to 112 should be replaced by:
outputs=[ output_panel.gallery, components["resume_timestring"], output_panel.generation_info, output_panel.html_log ],
make sure the indenting is right ^^. I'd make a pr but the code is not compatible with the main branch.
Thank you! I had the same problem, switched back from dev to "git checkout master" and now it's working!
Have you read the latest version of the FAQ?
Is there an existing issue for this?
Are you using the latest version of the Deforum extension?
What happened?
When starting up Auto1111, an exception is thrown. This causes the deforum extention tab to not be shown in the a1111 ui (it can still be seen in settings -> extentions). Other extentions can load sucessfully.
Steps to reproduce the problem
What should have happened/how would you fix it?
The deforum tab should have been displayed in the a1111 ui.
Torch version
python: 3.10.12 • torch: 2.0.0+cu118 • xformers: 0.0.19 • gradio: 3.23.0 • commit: 22bcc7be • checkpoint: cc6cb27103
On which platform are you launching the webui with the extension?
No response
Deforum settings
N/A - bug is present once ui has initally loaded.
Webui core settings
https://drive.google.com/file/d/11ExsRpQWDog9NlBjso-px3YKC1VI5zmG/view?usp=sharing
Console logs
Additional information
No response