g0dSE

Results 4 comments of g0dSE

> I know this isn't the answer you're looking for but since the backend is basically comfyui you could probably use that instead. sending it to localhost:8188/prompt as the request...

> ```python > ADDRESS = "127.0.0.1" > PORT = "8188" > > def queue(prompt_workflow): > p = {"prompt": prompt_workflow} > data = json.dumps(p).encode("utf-8") > requests.post(f"http://{ADDRESS}:{PORT}/prompt", data=data) > ``` > >...

> Well its for the comfy ui backend part, so the request would be sending to 127.0.0.1:8188/prompt dont forget the subdomain of "prompt". I'm not sure if fooocus handles backend...

> Okay so it's most likely that you have to structure the file being sent to the back-end in a way that when its being parsed the "detail" parameter is...