jina-ai / dalle-flow

🌊 A Human-in-the-Loop workflow for creating HD images from text
grpcs://dalle-flow.dev.jina.ai
2.83k stars 209 forks source link

Is there a way to verify whether the demo server is down or if I've configured something incorrectly? Failed to connect to all addresses error. #140

Closed OmightyDurn closed 1 year ago

OmightyDurn commented 1 year ago

Just getting starting working with this space. Attempted to run the demo code in the client usage documentation and I receive this error. I'm unsure how to tell if the server is down or if I've done something incorrectly. I don't see any discrepancies between the code offered in the usage documentation and what I have in my script:

from docarray import Document

server = 'grpc://dalle-flow.jina.ai:51005'

prompt = "Hawkeye as a cyborg in an oil painting style"

doc = Document(text=prompt).post(server, parameters={'num_images': 1})
da = doc.matches

da.plot_image_sprites(fig_size=(10,10), show_index=True)

Error:

ERROR GRPCClient@15072 gRPC error: StatusCode.UNAVAILABLE [11/23/22 09:27:03] failed to connect to all addresses
The ongoing request is terminated as the server is
not available or closed already.

OmightyDurn commented 1 year ago

The documentation has not been updated to the current server: grpcs://dalle-flow.dev.jina.ai