Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thumb preview not showing for models in sub-directory #68

Open
zhupeter010903 opened this issue Nov 28, 2024 · 1 comment
Open

Thumb preview not showing for models in sub-directory #68

zhupeter010903 opened this issue Nov 28, 2024 · 1 comment

Comments

@zhupeter010903
Copy link

First let me thank you for the great functionalities! I run into a small issue when exploring the manager.

The preview is working very well for models located directly under the target directories, model/loras, model/checkpoints, etc. But preview fail to show up for models in sub-directories, for example, model/loras/SDXL, models/loras/FLUX.

@hayden-fr
Copy link
Owner

hayden-fr commented Nov 29, 2024

I need more detailed information to reproduce this issue.

The model preview in sub-dir works fine on my end, but I found that there are others who have the same problem as you.

Can you provide the following information to help me check this issue?

  • OS version
  • ComfyUI version
  • ComfyUI-Model-Manager version
  • Browser version
  • Model and preview path in your local, like this:
models
    - checkpoints
        - sub-dir
            - a_sd_xl_base_1.0.safetensors
            - a_sd_xl_base_1.0.webp
            - a_sd_xl_base_1.0.md
  • Response of /api/model-manager/models, like this:
{
  "fullname": "a_sd_xl_base_1.0.safetensors",
  "basename": "a_sd_xl_base_1.0",
  "extension": ".safetensors",
  "type": "checkpoints",
  "pathIndex": 0,
  "sizeBytes": 6938078334,
  "preview": "/model-manager/preview/checkpoints/0/a_sd_xl_base_1.0.webp?ts=1732268186582",
  "createdAt": 1731403562482,
  "updatedAt": 1726805166000
},

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants