jina-ai / discoart

🪩 Create Disco Diffusion artworks in one line
Other
3.84k stars 249 forks source link

0.7.3 create bug #60

Closed Tomorrowxxy closed 2 years ago

Tomorrowxxy commented 2 years ago

1, 0.7.3 version seems to have errors using serve, the reason should be stop_event and skip_event. Fallback to 0.7.2 version is normal 2,I tried to modify /create api to return state synchronously and execute create asynchronously. Sorry I'm not familiar with Python and jina

hanxiao commented 2 years ago

Hi @Tomorrowxxy there is no need to work on 2, as the blocked ticket #28 is already solved in upstream at Jina earlier today, we will update discoart accordingly, trust us, our solution is more native.

For 1 i will check

hanxiao commented 2 years ago

Could you provide more error traceback/stack for problem 1

Tomorrowxxy commented 2 years ago

image At that time, only this screenshot was kept

Tomorrowxxy commented 2 years ago

Could you provide more error traceback/stack for problem 1

When will it support asynchronous calls to the create api?

hanxiao commented 2 years ago

When will it support asynchronous calls to the create api?

in few hours, still waiting jina to release 3.7

hanxiao commented 2 years ago

released in 0.7.5

hanxiao commented 2 years ago

check here for the usage and consequence https://github.com/jina-ai/discoart#unblocking-create-request