gligen / GLIGEN

Open-Set Grounded Text-to-Image Generation
MIT License
1.92k stars 144 forks source link

Parsed Sketch Pad field does not parse the Sketch Pad #6

Open kram1032 opened 1 year ago

kram1032 commented 1 year ago

On this page https://huggingface.co/spaces/gligen/demo even before I give any Grounding Instructions, the Parsed Sketch Pad already has a bounding box marked (almost the entire area, with some margin, called Obj. 1): image

And when I try to give some Grounding instructions, it names the frame after the first object. Drawing things in the Sketch Pad will not change the Parsed Sketch Pad at all, no matter how many lines I draw.

image

Thus I can only generate images with this demo, if I only ask for a single Grounding instruction, and I'm happy with the default bounding box. Otherwise, it will give me an Error, as it doesn't register multiple sketch instructions.

kram1032 commented 1 year ago

Update: It works in Chrome but not in Brave

kram1032 commented 1 year ago

It also works in Firefox

haotian-liu commented 1 year ago

Can you try using the clear button? Maybe there is some incompatibility between the Gradio image draw tool and the Brave browser?

kram1032 commented 1 year ago

Just tried pressed what I assume is the "Clear" button (Löschen) in Brave image

And after that, drawing once:

image

and twice:

image

doesn't resolve the issue.

I aslo tried checking the console:

image

image image

image

Is the issue, that Brave blocks stripe, or is that unrelated?

haotian-liu commented 1 year ago

I am not familiar with this browser. What happens if you open this in privacy mode? And what about this link?

kram1032 commented 1 year ago

In privacy mode the exact same thing happens: image

Although I get one less error: image

image

and the mirror gives the same result: image