ReActor Face NSFW: HTTP Error 502: Bad Gateway

安装

安装
Gourieff/ComfyUI-ReActor: Fast and Simple Face Swap Extension Node for ComfyUI (SFW)

ReActor这个节点的自动下载是走huggingface.co的,自己下Gourieff/ReActor at main

到models\facerestore_models

502 Bad Gateway

换脸节点ReActor,安装后报错:

urllib.error.HTTPError: HTTP Error 502: Bad Gateway,查看报错是\custom_nodes\comfyui-reactor\nodes.py调用了NSFW检测,但是NSFW检测model也是huggingface要下载,本地没有时自动下载失败导致的。直接注释掉SFW的逻辑(还更方便了)

if not sfw.nsfw_image(img_byte_arr, NSFWDET_MODEL_PATH): #注释这个,直接

if True:
安装ComfyUi节点一个比一个麻烦,PuLib比这个更麻烦

相关推荐
AI开发发烧友10 小时前
LangGraph多Agent协作实战:以物流售前场景为例的5 Agent工作流设计
python
码云骑士10 小时前
70-多Agent协作-CrewAI-AutoGen-角色分工与信息传递协议
python
Hachi被抢先注册了11 小时前
Skills总结
python
用户03321266636711 小时前
使用 Python 在 PowerPoint 中创建折线图和条形图
python
benchmark_cc11 小时前
如何用 Python 进行多周期 K 线合成与时区对齐?基于 QuantDash 与 Pandas 的量化数据清洗实战(附 GitHub 源码)
开发语言·python·github·盯盘·pandas·quantdash·量化数据
不如语冰11 小时前
AI大模型入门-参数的传递
数据结构·人工智能·pytorch·python
用户67608406561711 小时前
GraphBLAS_01_图的稀疏表示
python
小陈工11 小时前
第7篇:Django框架核心原理与实战深度解析(下)
后端·python·面试
用户2986985301411 小时前
Python 数据处理:XML 与 Excel 互转的实用指南
后端·python·excel
m0_6174939411 小时前
PyCharm 新手避坑指南:一文解决“项目列表消失”与“模块导入报错”两大玄学问题
ide·python·pycharm