Alexander Bagus commited on
Commit
c7e1563
·
1 Parent(s): 95ee7de
Files changed (3) hide show
  1. README.md +1 -0
  2. app.py +1 -1
  3. static/footer.md +5 -2
README.md CHANGED
@@ -12,6 +12,7 @@ short_description: Edit and guide image generation
12
  models:
13
  - Tongyi-MAI/Z-Image-Turbo
14
  - alibaba-pai/Z-Image-Turbo-Fun-Controlnet-Union
 
15
  ---
16
 
17
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
12
  models:
13
  - Tongyi-MAI/Z-Image-Turbo
14
  - alibaba-pai/Z-Image-Turbo-Fun-Controlnet-Union
15
+ - alibaba-pai/Z-Image-Turbo-Fun-Controlnet-Union-2.0
16
  ---
17
 
18
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
app.py CHANGED
@@ -28,7 +28,7 @@ MAX_IMAGE_SIZE = 1280
28
  # git clone https://huggingface.co/Tongyi-MAI/Z-Image-Turbo
29
  MODEL_LOCAL = "models/Z-Image-Turbo/"
30
  # curl -L -o Z-Image-Turbo-Fun-Controlnet-Union.safetensors https://huggingface.co/alibaba-pai/Z-Image-Turbo-Fun-Controlnet-Union/resolve/main/Z-Image-Turbo-Fun-Controlnet-Union.safetensors
31
- TRANSFORMER_LOCAL = "models/Z-Image-Turbo-Fun-Controlnet-Union/Z-Image-Turbo-Fun-Controlnet-Union-2.0.safetensors"
32
 
33
  weight_dtype = torch.bfloat16
34
 
 
28
  # git clone https://huggingface.co/Tongyi-MAI/Z-Image-Turbo
29
  MODEL_LOCAL = "models/Z-Image-Turbo/"
30
  # curl -L -o Z-Image-Turbo-Fun-Controlnet-Union.safetensors https://huggingface.co/alibaba-pai/Z-Image-Turbo-Fun-Controlnet-Union/resolve/main/Z-Image-Turbo-Fun-Controlnet-Union.safetensors
31
+ TRANSFORMER_LOCAL = "models/Z-Image-Turbo-Fun-Controlnet-Union-2.0/Z-Image-Turbo-Fun-Controlnet-Union-2.0.safetensors"
32
 
33
  weight_dtype = torch.bfloat16
34
 
static/footer.md CHANGED
@@ -4,10 +4,13 @@
4
  - **Context Scale**: Similar to strength, the higher the value, the more detail is preserved. The recommended control_context_scale range is 0.65 to 0.80.
5
  - **Image Scale**: Upscale/downscale image resolution.
6
 
 
 
7
 
8
  ## References
9
- - **alibaba-pai**: <https://huggingface.co/alibaba-pai/Z-Image-Turbo-Fun-Controlnet-Union>
10
- - **Tongyi-MAI**: <https://huggingface.co/Tongyi-MAI/Z-Image-Turbo>
11
  - **VideoX-Fun**: <https://github.com/aigc-apps/VideoX-Fun>
 
 
12
 
13
  <!-- https://github.com/comfyanonymous/ComfyUI/pull/11062 -->
 
4
  - **Context Scale**: Similar to strength, the higher the value, the more detail is preserved. The recommended control_context_scale range is 0.65 to 0.80.
5
  - **Image Scale**: Upscale/downscale image resolution.
6
 
7
+ # Version History
8
+ 2025-12-13: Updated to Controlnet Union v2.0
9
 
10
  ## References
11
+ - **alibaba-pai - Controlnet Union v2.0**: <https://huggingface.co/alibaba-pai/Z-Image-Turbo-Fun-Controlnet-Union-2.0>
 
12
  - **VideoX-Fun**: <https://github.com/aigc-apps/VideoX-Fun>
13
+ - **Tongyi-MAI**: <https://huggingface.co/Tongyi-MAI/Z-Image-Turbo>
14
+
15
 
16
  <!-- https://github.com/comfyanonymous/ComfyUI/pull/11062 -->