olegchomp / TDDiffusionAPI

TouchDesigner interface for AUTOMATIC1111
170 stars 6 forks source link

About AsyncIO implementations #15

Closed state303 closed 4 months ago

state303 commented 4 months ago

First of all, thank you for the repo!

I am currently trying to implement asyncio with this repo, however, would like to know if you accepts any PR or such. From what I can see is that all the requests are being handled synchronously, hence will block the main thread. Awaiting for the reply... :)

Verdict: I don't know if the response status code 100 - related issues are fixed at this point, so maybe utilizing requests package will be a good alternative.

olegchomp commented 4 months ago

Hi! It works through webclient and it's async already (like webclient DAT).

Status code error is related to this.

This repo is outdated and better to check TDComfyUI. Here is already implemented some fixes and others improvements.

state303 commented 4 months ago

Thanks a lot! I will checkout the repo.