github:
https://github.com/GiusTex/ComfyUI-DiffusersImageOutpaint
comfyui:
https://github.com/GiusTex/ComfyUI-DiffusersImageOutpaint
huggingface:
https://huggingface.co/spaces/fffiloni/diffusers-image-outpaint
python环境安装“
# 创建虚拟环境
conda create -p .conda python=3.10
# 激活虚拟环境
conda activate .conda
# 安装依赖
python -m pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple --extra-index-url https://download.pytorch.org/whl/cu118
# 先设镜像为阿里云
python -m pip install -r requirements.txt -f https://download.pytorch.org/whl/torch_stable.html;
requirements.txt:
torch==2.4.1+cu118
spaces
gradio==4.42.0
gradio-imageslider
numpy==1.26.4
transformers
accelerate
diffusers
fastapi<0.113.0
opencv-python
启动命令start.bat
@echo off
set HF_ENDPOINT=https://hf-mirror.com
set HF_HOME=.\models
call conda activate .\.conda
python app.py
start http://127.0.0.1:7860
pause
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END