Gradio 4 Port (main branch)#295
Open
Panchovix wants to merge 392 commits into
Open
Conversation
- not zooming - colours not being set properly - Eyedropper didn't cycle draw mode.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See #291 for more details.
Adapted for main branch.
Description
Forge has Gradio 4. So I tried porting reForge to Gradio 4.
The current status is that while WebUI launches without any errors on the python side, it gets stuck on a Dropdown.Currently Fixing all the python side and interactivity.More or less done. Looking for bugsScreenshots/videos:
Screenshots for postery and log of what works and doesn't work:
PNG Info
Slight issue where the width and height does not get sent properly. But prompts are properly sent.

Txt2Img Generation
Generated image with APG Extensions enabled and first proper waifu generated. :

Fixed
imageviewer.jsso the full screen image viewer also works too.Img2Img Generation
Tested all 4. Seems to work

Deobfuscated forgeCanvas.js
Might be a hot take but anyway, deobfuscating the js so that people can work on it.
ForgeCanvas is "Touch compatible"
Your fingers on mobile are happier with a touch compatible forge canvas. While there are UI issues + (Zoom and Pans are not tested). You can comfortably doodle on the image.
Bugs & Missing Features
kohya_hrfix.py doesn't load.FixedControlNet doesn't work due to new ForgeCanvasFixedForgeCanvas does not work with mobile.FixedBugTesters
Python Stack Trace / Tracebacks are requested.
Extension Issues
sd-webui-additional-networksdoesn't launch due to the following error. Since the extension is like 2 years old... Not in current scope to fix it anyway.stable-diffusion-webui-model-toolkitdoesn't load with the following. Likely due to gradio 4 upgrade. But should be relatively easy to fix.