jina-ai / discoart

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

How to set up "name-docarray"? #164

Closed SearchingForSea closed 1 year ago

SearchingForSea commented 1 year ago
image

How to set up "name-docarray"?

OverStruck commented 1 year ago

I take it you're not a developer? You don't have to set it up. As the image you posted says, name-docarray is the name of the run. If you leave it empty a random name will be generated which will work just fine.

If you do want to specify it, you can do so in your settings.yml by setting name_docarray.

Likewise doing it in code will work: da = create(name_docarray='name')

SearchingForSea commented 1 year ago

我想你不是开发者? 您不必_设置_它。正如您发布的图片所说,name-docarray是运行的名称。如果您将其留空,则会生成一个随机名称,该名称可以正常工作。

如果你确实想指定它,你可以在你settings.yml的设置中这样做name_docarray

同样在代码中这样做也可以: da = create(name_docarray='name')

Thank you very much.