nonnonstop / sd-webui-3d-open-pose-editor

3d openpose editor for stable diffusion and controlnet
MIT License
787 stars 97 forks source link

Add fallback inline CSS #70

Closed DavG25 closed 1 year ago

DavG25 commented 1 year ago

The changes add a <style> tag containing the same CSS used in the Gradio Blocks to use as fallback for different Gradio versions

Should fix https://github.com/nonnonstop/sd-webui-3d-open-pose-editor/issues/67, tested on https://github.com/AUTOMATIC1111/stable-diffusion-webui/commit/a9eab236d7e8afa4d6205127904a385b2c43bb24

Preview ### Before ![before](https://user-images.githubusercontent.com/31524206/234153102-4b402ac6-2bdb-42a9-a869-f80790b97e4d.png) --- ### After ![after](https://user-images.githubusercontent.com/31524206/234153134-ea80c493-f19b-42a5-8b44-02f6a8c9b040.png)
nonnonstop commented 1 year ago

@DavG25 We are currently maintaining this extension at https://github.com/ZhUyU1997/open-pose-editor, could you please submit the pull request there?

Thank you. And sorry for the delay.

DavG25 commented 1 year ago

@DavG25 We are currently maintaining this extension at https://github.com/ZhUyU1997/open-pose-editor, could you please submit the pull request there?

Thank you. And sorry for the delay.

No problem!

The changes were meant to fix an issue with the extension version of the editor instead of the online one, since this repo is listed in the webui extensions list

From what I understand, the new repo https://github.com/ZhUyU1997/open-pose-editor does not currently work as a webui extension because the Vue.js files are not built or included when the extension is installed