Open Jonseed opened 1 month ago
Hi, thanks for reporting. It looks like Forge upgraded to gradio 4. The gradio code that One Button Prompt uses, seems to be deprecated in version 4. I will have a look into this, to see if I can make something that works both in Gradio 3 (A1111 etc) and Gradio 4. Not sure if thats possible.
I am quite busy at home right now, so I can't commit to timeline of addressing this issue.
Update: I know how to fix it. It's a time consuming change. Basically, I have to rewrite much of the Gradio stuff so it works on both Gradio 3 and 4. It's next on my todo list! I want to play around with Flux as well in forge ;)
I'll give update progress here, but I am not sure when I will have enough time.
Thank you for considering the update, appreciate it!
So, for those who might wonder, the extension still works in Forge, you just can't currently change any of the settings from the UI. But you can adjust the settings in the JSON file in /userfiles/obp_presets.json
. I've been testing out Flux with OBP, and it is pretty great.
Hi everyone, I have been away for a while and development has thus been slow (and will be for a bit sorry!)
For now, I have spend some time on the Gradio4 move. There is a branch for this. The code is working on the old WebUI environment (which is on gradio 3), but it still doesn't work on Forge.
It is now getting this error message:
File "copy.py", line 206, in _deepcopy_list File "copy.py", line 172, in deepcopy File "copy.py", line 271, in _reconstruct File "copy.py", line 146, in deepcopy File "copy.py", line 231, in _deepcopy_dict File "copy.py", line 172, in deepcopy File "copy.py", line 271, in _reconstruct File "copy.py", line 146, in deepcopy File "copy.py", line 231, in _deepcopy_dict File "copy.py", line 172, in deepcopy File "copy.py", line 271, in _reconstruct File "copy.py", line 146, in deepcopy File "copy.py", line 231, in _deepcopy_dict File "copy.py", line 161, in deepcopy TypeError: cannot pickle '_thread.lock' object
so basically where I am at is:
If anyone recognized this, please let me know :D
In SD Forge, when setting the dropdown to "custom" I get this error in the console, and no settings are shown in the UI: