- 修复remove_background和remove_background_from_file方法中,队列模式返回dict但代码尝试调用save方法的问题 - 在调用处添加类型检查,兼容队列模式(返回dict)和非队列模式(返回Image) - 修复process_batch降级处理中的相同问题 修复前错误: 'dict' object has no attribute 'save'
- 修复remove_background和remove_background_from_file方法中,队列模式返回dict但代码尝试调用save方法的问题 - 在调用处添加类型检查,兼容队列模式(返回dict)和非队列模式(返回Image) - 修复process_batch降级处理中的相同问题 修复前错误: 'dict' object has no attribute 'save'