当前位置: 首页 > news >正文

行业网站设计wordpress商城小程序

行业网站设计,wordpress商城小程序,网站开发维护费计入什么科目,wordpress评论函数一、说明 ComfyUI是一个开源的、基于节点的Web应用。它允许用户根据一系列文本提示#xff08;Prompt#xff09;生成图像。 ComfyUI使用扩散模型作为基础模型#xff0c;并结合 ControlNet、Lora和LCM低阶自适应等模型#xff0c;每个工具都由程序中的一个节点表示 二、开…一、说明 ComfyUI是一个开源的、基于节点的Web应用。它允许用户根据一系列文本提示Prompt生成图像。 ComfyUI使用扩散模型作为基础模型并结合 ControlNet、Lora和LCM低阶自适应等模型每个工具都由程序中的一个节点表示 二、开发环境搭建  1、创建云环境 2、下载源码 git clone https://github.com/comfyanonymous/ComfyUI.git cd ComfuUI #重要目录说明 SD权重路径默认为models/checkpoints VAE文件路径默认为models/vae 插件路径默认为custom_nodes 3、安装插件管理器ComfyUI-Manager cd costum_nodes git clone https://github.com/ltdrdata/ComfyUI-Manager.git4、创造虚拟环境 conda create -n comfyui python3.10 conda activate comfyui# torch pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu121conda install -c conda-forge ffmpeg6.1pip install -r requirements.txt5、修改 ComfyUI/app/user_manager.py 文件 发现问题主要是不能保存 # 在最后添加注意格式routes.post(/userdata/{dir}/{file})async def post_userdata_1(request):logging.info(fpost_userdata_1 request: {request})path get_user_data_workfolows_path(request)logging.info(fpost_userdata_1 path: {path})if not isinstance(path, str):return pathoverwrite request.query.get(overwrite, true) ! falsefull_info request.query.get(full_info, false).lower() trueif not overwrite and os.path.exists(path):return web.Response(status409, textFile already exists)body await request.read()with open(path, wb) as f:f.write(body)user_path self.get_request_user_filepath(request, None)if full_info:resp get_file_info(path, user_path)else:resp os.path.relpath(path, user_path)return web.json_response(resp)routes.get(/userdata/{dir}/{file})async def getuserdata_1(request):path get_user_data_workfolows_path(request)if not isinstance(path, str):return pathreturn web.FileResponse(path)routes.delete(/userdata/{dir}/{file})async def delete_userdata_1(request):path get_user_data_workfolows_path(request, check_existsTrue)if not isinstance(path, str):return pathos.remove(path)return web.Response(status204)routes.post(/userdata/{dir}/{file}/move/{dir_}/{dest})async def move_userdata_1(request):Move or rename a user data file.source get_user_data_workfolows_path(request, check_existsTrue)if not isinstance(source, str):return sourcedest get_user_data_workfolows_path(request, check_existsFalse, paramdest)if not isinstance(source, str):return destoverwrite request.query.get(overwrite, true) ! falsefull_info request.query.get(full_info, false).lower() trueif not overwrite and os.path.exists(dest):return web.Response(status409, textFile already exists)logging.info(fmoving {source} - {dest})shutil.move(source, dest)user_path self.get_request_user_filepath(request, None)if full_info:resp get_file_info(dest, user_path)else:resp os.path.relpath(dest, user_path)return web.json_response(resp) 6、运行 python main.py --listen 0.0.0.0参数解析--listen是否进本地可访问 --port服务的端口 默认8188 --preview-method auto开启预览VAE解码前的图像 三、配置 Debug 修改模型文件的路径 #将extra_model_paths.yaml.example重命名为extra_model_paths.yaml以启用该文件 cp extra_model_paths.yaml.example extra_model_paths.yaml #然后修改文件中的base_paths并设置为stablediffusion-webui的项目路径。 路径为/workspace/stablediffusion-webui/ 四、安装插件 第一个 第二个
http://www.pierceye.com/news/203565/

相关文章:

  • 为什么网站找不到了东莞智通人才市场招聘官网
  • 如何注册网站名称中国煤炭建设协网站
  • 一个网站为什么做的不好看软件源码成品资源下载网站
  • 网站建设 环讯传媒建设网站要多久到账
  • 溧阳城乡建设厅网站惠州专业网站建设
  • app嵌入手机网站dw旅游网站怎么做
  • wpf做网站烟台做网站工资
  • 做网站公司名字网站建设方案对比分析报告
  • 网站360优化网站开发所需技术
  • 宁河做网站公司wordpress漏洞扫描工具
  • 单位网站建设的目的手机可以做网站服务器吗
  • 上海网站建设有限公司lnmp安装wordpress限权
  • 大航母网站建设服务php一般网站空间多大
  • 中性衣服印花图案设计网站做网站的工作
  • 只做女性的网站编程入门先学什么软件
  • 创客网站建设新余公司做网站
  • 买个网站域名多少钱网站建设 内容缺乏
  • 清河做网站哪里好建设一个网站的文案需要
  • 农机网站模版建网站用什么工作站
  • 网站可以做无形资产游戏代理0加盟费
  • 高端网站建设哪家公司好城乡建设部网站甘红刚
  • 湖北省建设部网站网站排名seo教程
  • 郑州 高端网站建设网络结构有哪几种
  • 电脑做apk的网站h5工商网站如何做实名
  • 循化网站建设公司c语言开发工具
  • wordpress网站做app关于网站的ppt怎么做
  • 怎么建设商品网站项目计划书范文
  • 大足建网站的网页微信版官方下载
  • 企业网站免费建设做网站设计需求
  • 做电影网站用什么虚拟主机建设网站模块需要哪些内容