🎨 完整的 IOPaint 项目更新
## 主要更新 - ✨ 更新所有依赖到最新稳定版本 - 📝 添加详细的项目文档和模型推荐 - 🔧 配置 VSCode Cloud Studio 预览功能 - 🐛 修复 PyTorch API 弃用警告 ## 依赖更新 - diffusers: 0.27.2 → 0.35.2 - gradio: 4.21.0 → 5.46.0 - peft: 0.7.1 → 0.18.0 - Pillow: 9.5.0 → 11.3.0 - fastapi: 0.108.0 → 0.116.2 ## 新增文件 - CLAUDE.md - 项目架构和开发指南 - UPGRADE_NOTES.md - 详细的升级说明 - .vscode/preview.yml - 预览配置 - .vscode/LAUNCH_GUIDE.md - 启动指南 - .gitignore - 更新的忽略规则 ## 代码修复 - 修复 iopaint/model/ldm.py 中的 torch.cuda.amp.autocast() 弃用警告 ## 文档更新 - README.md - 添加模型推荐和使用指南 - 完整的项目源码(iopaint/) - Web 前端源码(web_app/) 🤖 Generated with Claude Code
This commit is contained in:
42
.vscode/preview.yml
vendored
42
.vscode/preview.yml
vendored
@@ -1,10 +1,34 @@
|
||||
# .vscode/preview.yml
|
||||
autoOpen: false # 打开工作空间时是否自动开启所有应用的预览
|
||||
# IOPaint Preview Configuration
|
||||
autoOpen: true # 打开工作空间时是否自动开启所有应用的预览
|
||||
apps:
|
||||
- port: 5000 # 应用的端口
|
||||
run: python ./example.py # 应用启动命令
|
||||
root: ./example # 应用的启动目录
|
||||
name: Python Cloud Studio Demo # 应用名称
|
||||
description: Python Cloud Studio Demo Project # 应用描述
|
||||
autoOpen: false # 打开工作空间时是否自动运行命令(优先级高于根级 autoOpen)
|
||||
autoPreview: false # 是否自动打开预览, 若无则默认为true
|
||||
- port: 8080 # IOPaint 服务器端口
|
||||
run: python3 main.py start --model lama --device cuda --port 8080 # 启动命令(使用 LaMa 模型和 GPU)
|
||||
root: . # 应用的启动目录(项目根目录)
|
||||
name: IOPaint - LaMa Model # 应用名称
|
||||
description: IOPaint 图像修复工具 - 使用 LaMa 模型快速擦除(GPU 加速) # 应用描述
|
||||
autoOpen: true # 打开工作空间时是否自动运行命令
|
||||
autoPreview: true # 自动打开预览
|
||||
|
||||
- port: 8080 # IOPaint 服务器端口
|
||||
run: python3 main.py start --model runwayml/stable-diffusion-inpainting --device cuda --port 8080 # SD Inpainting 模型
|
||||
root: . # 应用的启动目录
|
||||
name: IOPaint - SD Inpainting # 应用名称
|
||||
description: IOPaint 图像修复工具 - 使用 Stable Diffusion Inpainting(支持文本提示) # 应用描述
|
||||
autoOpen: false # 不自动运行(手动切换)
|
||||
autoPreview: false # 不自动预览
|
||||
|
||||
- port: 8080 # IOPaint 服务器端口
|
||||
run: python3 main.py start --model diffusers/stable-diffusion-xl-1.0-inpainting-0.1 --device cuda --low-mem --port 8080 # SDXL 模型
|
||||
root: . # 应用的启动目录
|
||||
name: IOPaint - SDXL Inpainting # 应用名称
|
||||
description: IOPaint 图像修复工具 - 使用 SDXL(高质量,低内存模式) # 应用描述
|
||||
autoOpen: false # 不自动运行(手动切换)
|
||||
autoPreview: false # 不自动预览
|
||||
|
||||
- port: 8080 # IOPaint 服务器端口
|
||||
run: python3 main.py start --model lama --device cpu --port 8080 # CPU 模式
|
||||
root: . # 应用的启动目录
|
||||
name: IOPaint - LaMa (CPU) # 应用名称
|
||||
description: IOPaint 图像修复工具 - LaMa 模型 CPU 模式(无需 GPU) # 应用描述
|
||||
autoOpen: false # 不自动运行(手动切换)
|
||||
autoPreview: false # 不自动预览
|
||||
|
||||
Reference in New Issue
Block a user