leszekhanusz / diffusion-ui Goto Github PK
View Code? Open in Web Editor NEWFrontend for deeplearning Image generation
Home Page: https://diffusionui.readthedocs.io
License: MIT License
Frontend for deeplearning Image generation
Home Page: https://diffusionui.readthedocs.io
License: MIT License
It would be very neat to have a quick access to change the current model and or hypernetwork
This would open up the tool to more experimentation for many. Testing how the inpaint behaves differently between multiple Models
Bonus: Having the same Seed grouped with different model-hashes for easy comparison later on.
I'm getting a 500 error when trying to use this ui with Automatic1111 as the backend.
Tried on Windows 10 and 11 machines.
Tried latest commit, the recommended f2a4a2c3a672e22f088a7455d6039557370dd3f2, and several major steps back, up to 3 days ago. Same errors each time.
Python 3.10.6
pip 22.2.2
Traceback (most recent call last): File "D:\stable-diffusion-webui-1111\venv\lib\site-packages\gradio\routes.py", line 273, in run_predict output = await app.blocks.process_api( File "D:\stable-diffusion-webui-1111\venv\lib\site-packages\gradio\blocks.py", line 739, in process_api inputs = self.preprocess_data(fn_index, inputs, state) File "D:\stable-diffusion-webui-1111\venv\lib\site-packages\gradio\blocks.py", line 638, in preprocess_data processed_input.append(block.preprocess(raw_input[i])) File "D:\stable-diffusion-webui-1111\venv\lib\site-packages\gradio\components.py", line 2118, in preprocess return process_single_file(x) File "D:\stable-diffusion-webui-1111\venv\lib\site-packages\gradio\components.py", line 2088, in process_single_file f["name"], TypeError: string indices must be integers
Won't work for me
I am a Windows user
Message inside the web-user.bat
Traceback (most recent call last):
File "C:\Users\Heimann David\stable-diffusion-webui\venv\lib\site-packages\gradio\routes.py", line 273, in run_predict output = await app.blocks.process_api(
File "C:\Users\Heimann David\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 739, in process_api inputs = self.preprocess_data(fn_index, inputs, state)
File "C:\Users\Heimann David\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 638, in preprocess_data
processed_input.append(block.preprocess(raw_input[i]))
File "C:\Users\Heimann David\stable-diffusion-webui\venv\lib\site-packages\gradio\components.py", line 2118, in preprocess
return process_single_file(x)
File "C:\Users\Heimann David\stable-diffusion-webui\venv\lib\site-packages\gradio\components.py", line 2088, in process_single_file
f["name"],
TypeError: 'bool' object is not subscriptable
have tried using git fetch origin pull/1276/head and git checkout FETCH_HEAD
Used the Automatic1111 sorted option and localhost is http://localhost:7860/
And i used the most recent version
Suggestion:
The Hamburger menu is a little lonely, what about adding a little Button below "Generate Again" to save the image?
Preferably without any Watermarks or Exif data... filenames ofc can be something like seed+modelhash
Because of this commit.
Could be fixed by this PR
As the message response says1:
Due to heavy demand, for requests over 832x832 or over 50 steps (25 for k_heun and k_dpm_2*), and for 12 or more weights, the client needs to already have the required kudos. This request requires 0.0 kudos to fulfil.
The step counts are permanent, afaik, while the image size varies based on horde usage.
r2:false
to the request. returned images will not display correctly until this is fixedit would be a good idea to include this message, not direct the user to outdated documentation for another service; the documentation should probably also link to the horde policy on this. But that's ok, because the horde policy is also outdated, and doesn't have an anchor that would allow you to link directly to that part of the page. โฉ
Hello, what is the main use-case/point of this software? Not trying to be rude, but I kept seeing the creator talking about it on the webui repo, so I came out of curiosity but I can't really find a good description of what it does - and at first glance it seems like it does less than what webui provides, so I'm just hoping for some clarification as I'm sure I'm likely just missing the point.
Does this frontend provide better inpainting features? I see that it can be used as a frontend for multiple backends... can it switch between backends on the fly with a simple checkbox or something?
Kudos for your hard work, and thank you in advance for taking the time to explain it to me. :)
Would allow to use https://diffusionui.com on the go to show it to your friends using your computer at home.
The user should be able to zoom out of the picture and outpaint the exterior.
The following error message may appear:
Failed to execute 'toDataURL' on 'HTMLCanvasElement': Tainted canvases may not be exported.
As a workaround you can go back to a previous gradio version with: pip install gradio==3.4b3
Stopped working since automatic1111 commit bcfbb33e50a48b237d8d961cc2be038db53774d5
First of all: Love this project. I think it's really valuable that you made it. And I know it's helped a number of others in the community integrate with Automatic1111, standing on your shoulders, so to speak.
It looks like the Automatic1111 web ui has changed quite a bit in the past few weeks. From what I can tell, yesterday there was a breaking change in the arguments, so now img2img needs to be called differently. Compare these two files (in my project, using Automatic1111) for a quick view of the changes: Oct 20 params / Oct 21 params
Note that even fn_index
changed from 33 to 35.
I think that more changes happened today, and the arguments actually might look different again.
Given how brittle this integration is, it's a good thing that an API is looking close:
Hiya!
I've been trying to work the brush into generating stuff, compareable with NovelAi
So when i go ahead and generate a base picture and want to add a hat, i'd go on edit.
The first weird thing is that i only have a eraser as a selection... so i click the eraser and remove a little area and then i can click the pen. Regardless of undoing what i just erased or keeping it, my strokes always disappear. I draw, and then it's gone 0 effect.
Am i missing something?
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
Because it seems like this repo will be more focused on better tools for inpainting
Ein feature which should be easy bud should really help is being able to Rotate Images in the inpainting window
Because some posing is sometimes very limited in its datasets in its orientation of body parts, it would really help if it would be possible to rotate a picture temporarily in the inpainting editor.
Hi this me, i comment to at webui disscusion page but i will ask here to just in case. So are this work smiliar to SillyTraven ? https://github.com/SillyTavern/SillyTavern where i can use this as frontend and using API key as backend ?
First of all thanks, I use your site as a great safe front end for the rest of my family to generate images quickly without the risk of screwing up the config. Lots of joy and laughter from my children as they generate images of Totoro going down a water slide.
All that aside, I started having two issues lately, one is Gradio Auth. I have my SD published with SSL through a reverse proxy, but due to recent exploits, I enabled a username and password to limit my attack vector. However, when I do, DiffusionUI.com says it can not find any API. I assume auth is not currently supported.
The second issue I started having is when I do connect to my back end it will generate an image and when it completes it vanishes.
I disable auth and diffusion connects happily to my back end. It will see all of the models in the drop-down and generate no errors.
I enter a prompt or use a bouquet of roses, I can see the image building, and when it finishes I get an empty image placeholder. Like it can't find it. The image is successfully created and saved in my output folder. I figured it was broken because of all the changes to image history in the A1111 repo, but I am glad to hear it should be working.
I am experiencing this issue regardless of browser or OS.
Tested are win 10 and 11 on chrome and firefox
Current A111 version: Commit hash: 48dbf99e84045ee7af55bc5b1b86492a240e631e
Console output is just successful image creation
Output directory for txt2img images: outputs/txt2img
Output directory for img2img images: outputs/img2img
I'm working on an API for Automatic's webui but I'm struggling to parse the Gradio config file. There's no documentation and from what I understand it's linking parts of the UI together. How do you do it for this project? I tried to port your code to Python but it isn't perfect and I'm not getting the same results. Just would like some advice.
Hi! I like what you are doing here!
Unfortunately, I think the complexity will grow exponentially if you want to support different UIs with different parameters.
Would it make sense to come up with & propose an API specification for sd-backends? this can them be implemented by the different repos and this UI will work out of the box.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.