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

ComfyUI-Flux-Inpainting:expected str, bytes or os.PathLike object, not NoneType #1

Open
Aiseng-sketch opened this issue Dec 15, 2024 · 3 comments

Comments

@Aiseng-sketch
Copy link

File "E:\ComfyUI_GUANFANG\ComfyUI_windows_portable\python_embeded\Lib\site-packages\transformers\models\clip\tokenization_clip.py", line 306, in init
with open(vocab_file, encoding="utf-8") as vocab_handle:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: expected str, bytes or os.PathLike object, not NoneType

@rubi-du
Copy link
Owner

rubi-du commented Dec 16, 2024

@Aiseng-sketch Can you provide a specific ComfyUI workflow to help us better pinpoint the issue

@Aiseng-sketch
Copy link
Author

inpainting1.json
Thank you, boss.

@rubi-du
Copy link
Owner

rubi-du commented Dec 17, 2024

@Aiseng-sketch This issue should be due to missing or incorrect model files. You can download the model as described in Readme and try again
link:https://github.com/rubi-du/ComfyUI-Flux-Inpainting?tab=readme-ov-file#models
image

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