#!/bin/bash # Check available Z-Image text encoder repos /home/fabian/ComfyUI/venv/bin/python3 << 'PYEOF' from huggingface_hub import HfApi, list_repo_files # Check both found repos repos = [ "Norby/Z_Image_text_encoders", "worstplayer/Z-Image_Qwen_3_4b_text_encoder_GGUF", ] for repo in repos: try: files = list_repo_files(repo) print(f"\n=== {repo} ===") for f in files: print(f" {f}") except Exception as e: print(f"\n=== {repo} ===") print(f" ERROR: {str(e)[:120]}") # Also try official Tongyi repo try: files = list_repo_files("Tongyi-MAI/Z-Image-Turbo") print(f"\n=== Tongyi-MAI/Z-Image-Turbo ===") for f in files: print(f" {f}") except Exception as e: print(f"\n=== Tongyi-MAI/Z-Image-Turbo ===") print(f" ERROR: {str(e)[:120]}") # Try Qwen3-4B base try: files = list_repo_files("Qwen/Qwen3-4B-Base") print(f"\n=== Qwen/Qwen3-4B-Base ===") for f in files[:15]: print(f" {f}") except Exception as e: print(f"\n=== Qwen/Qwen3-4B-Base ===") print(f" ERROR: {str(e)[:120]}") PYEOF