Update README.md
Browse files
README.md
CHANGED
|
@@ -14,13 +14,11 @@ ZIMAGE_NODE_SPECS = {
|
|
| 14 |
MellonParam.height(),
|
| 15 |
MellonParam.seed(),
|
| 16 |
MellonParam.num_inference_steps(default=9),
|
| 17 |
-
MellonParam.guidance_scale(),
|
| 18 |
MellonParam.image_latents_with_strength(),
|
| 19 |
MellonParam.strength(),
|
| 20 |
],
|
| 21 |
"model_inputs": [
|
| 22 |
MellonParam.unet(),
|
| 23 |
-
MellonParam.guider(),
|
| 24 |
MellonParam.scheduler(),
|
| 25 |
],
|
| 26 |
"outputs": [
|
|
@@ -49,7 +47,6 @@ ZIMAGE_NODE_SPECS = {
|
|
| 49 |
"text_encoder": {
|
| 50 |
"inputs": [
|
| 51 |
MellonParam.prompt(),
|
| 52 |
-
MellonParam.negative_prompt(),
|
| 53 |
],
|
| 54 |
"model_inputs": [
|
| 55 |
MellonParam.text_encoders(),
|
|
@@ -85,4 +82,6 @@ ZIMAGE_PIPELINE_CONFIG = MellonPipelineConfig(
|
|
| 85 |
default_repo="Tongyi-MAI/Z-Image-Turbo",
|
| 86 |
default_dtype="bfloat16",
|
| 87 |
)
|
|
|
|
|
|
|
| 88 |
```
|
|
|
|
| 14 |
MellonParam.height(),
|
| 15 |
MellonParam.seed(),
|
| 16 |
MellonParam.num_inference_steps(default=9),
|
|
|
|
| 17 |
MellonParam.image_latents_with_strength(),
|
| 18 |
MellonParam.strength(),
|
| 19 |
],
|
| 20 |
"model_inputs": [
|
| 21 |
MellonParam.unet(),
|
|
|
|
| 22 |
MellonParam.scheduler(),
|
| 23 |
],
|
| 24 |
"outputs": [
|
|
|
|
| 47 |
"text_encoder": {
|
| 48 |
"inputs": [
|
| 49 |
MellonParam.prompt(),
|
|
|
|
| 50 |
],
|
| 51 |
"model_inputs": [
|
| 52 |
MellonParam.text_encoders(),
|
|
|
|
| 82 |
default_repo="Tongyi-MAI/Z-Image-Turbo",
|
| 83 |
default_dtype="bfloat16",
|
| 84 |
)
|
| 85 |
+
|
| 86 |
+
ZIMAGE_PIPELINE_CONFIG.save("YiYiXu/image_z_modular", push_to_hub=True)
|
| 87 |
```
|