gelasdev / ComfyUI-FLUX-BFL-API

Apache License 2.0
2 stars 1 forks source link

Happened multiple times,black picture #1

Open yangnt opened 1 day ago

yangnt commented 1 day ago

Use the api to generate the following

thumbnail_image

gelasdev commented 19 hours ago

Can you provide terminal log. This may be due to insufficient time.sleep(5) between post and get requests. You can try increase sleep duration and add print task id in case not loosing task id so you can get from BFL API directly. I planning to add recursive get request here.

if task_id:
    print(f"TaskId: {task_id}")
    time.sleep(10)
    return self.get_result(task_id)
gelasdev commented 19 hours ago

I updated get request to recursive.

yangnt commented 4 hours ago

我將 get 請求更新為 recursive。

NICE!