[Doc] fix quickstart (#620)
Signed-off-by: David Chen <530634352@qq.com>
This commit is contained in:
1 parent
6b18d31aaa
commit
ad3011dcaf
1 file changed
+1
-1
@@ -36,7 +36,7 @@ if __name__ == "__main__":
|
|||||||
omni = Omni(model="Tongyi-MAI/Z-Image-Turbo")
|
omni = Omni(model="Tongyi-MAI/Z-Image-Turbo")
|
||||||
prompt = "a cup of coffee on the table"
|
prompt = "a cup of coffee on the table"
|
||||||
outputs = omni.generate(prompt)
|
outputs = omni.generate(prompt)
|
||||||
images = outputs[0].request_output[0]["images"]
|
images = outputs[0].request_output[0].images
|
||||||
images[0].save("coffee.png")
|
images[0].save("coffee.png")
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user