6174 / 6174/comflowyspace

放大模型加载器 不能选择模型

オープン
#333 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
2.3k
フォーク
136
PR マージ指標
30日以内にマージされた PR はありません

説明

APP VERSION: 0.2.3-alpha

![Image](https://github.com/user-attachments/assets/2b3880ad-2a2a-430a-8b5c-6b385360351d)

这个怎么解决??

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
```

Image

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python, typescript
領域
backend-api-design, frontend
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。