放大模型加载器 不能选择模型
- Ngôn ngữ chính
- TypeScript
- Star
- 2.3k
- Fork
- 136
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
APP VERSION: 0.2.3-alpha

这个怎么解决??
models/upscale_models/4xNMKDSiax200k_v10.pt
目录下确定有相应的模型
代码里, UpscaleModelLoader 打印有值
DEBUG: Upscale models list: ['4xNMKDSiax200k_v10.pt', 'BSRGAN.pth', 'BSRGANx2.pth', 'RealESRGAN_x2plus.pth']
===============
更新:
MY OS: macOS 26.2 (25C56)
目前手动修改代码
comfy_api/latest/_io.py
```
class Combo(ComfyTypeIO):
// ...
class Input(WidgetInput):
// ...
// 374 LINE, 增加以下代码 解决
def get_io_type(self):
return self.options
```
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
The issue is about the upscale model loader dropdown not showing models despite them being present in the filesystem. The user provided a debug log showing the model list and a manual fix in `comfy_api/latest/_io.py` around line 374 in the `Combo.Input` class's `get_io_type` method. Start by examining that file and the `UpscaleModelLoader` class to understand how the model list is populated and rendered. Check the frontend component that uses this API to see why the dropdown is empty. Verify the fix by testing the UI after applying the change.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- python, typescript
- Lĩnh vực
- backend-api-design, frontend
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 45/100