谷歌colab测试diffusers

python 复制代码
pip install --upgrade diffusers


from diffusers import DiffusionPipeline
import torch
pipeline = DiffusionPipeline.from_pretrained("runwayml/stable-diffusion-v1-5", torch_dtype=torch.float32)
pipeline("An image of a squirrel in Picasso style").images[0]

访问地址

https://colab.research.google.com/

相关推荐
Awu122733 分钟前
⚡从零开发 Agent CLI(二):CLI 框架搭建与子命令路由
人工智能·aigc
Awu122733 分钟前
⚡从零开发 Agent CLI(三):终端样式改造——从 console.log 到交互式 Ink UI
aigc·ai编程
草帽lufei34 分钟前
下班后把活交给AI,定时器让它晚上继续干活
aigc·ai编程
阿祖zu1 小时前
别再优化 RAG 了,适配 Agent 的 LLM Wiki 知识库理念
前端·后端·aigc
墨风如雪2 小时前
AI 火了,人人都想开源,GitHub 没你想的那么复杂
aigc
leeyi2 小时前
Document 组件:把文件喂给 AI 之前,必须先做这三步
aigc·agent·ai编程
92year4 小时前
MCP 协议最大改版:去掉了 Session,你的 Server 要改 6 个地方
aigc
用户5191495848454 小时前
Flex QR Code Generator 漏洞利用工具 CVE-2025-10041
人工智能·aigc
修己xj18 小时前
告别手动画图:用自然语言生成可直接发布的 SVG+PNG 技术图
aigc
用户5191495848451 天前
Windows 渗透测试载荷加载器 POC 工具集
人工智能·aigc