谷歌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/

相关推荐
leeyi4 小时前
Prompt 模板:用变量组装发给 AI 的消息
aigc·agent·ai编程
用户5191495848458 小时前
libcurl Headers API 释放后重利用漏洞:跨请求复用头句柄导致堆内存安全风险
人工智能·aigc
用户5191495848458 小时前
CVE-2025-1094 PostgreSQL SQL注入与WebSocket劫持远程代码执行利用工具
人工智能·aigc
用户5191495848451 天前
OpenSSL PKCS#12 PBMAC1 堆栈缓冲区溢出漏洞 (CVE-2025-11187) 分析与验证
人工智能·aigc
用户5191495848451 天前
HP Sound Research SECOMNService 权限提升漏洞利用工具
人工智能·aigc
Awu12272 天前
⚡从零开发 Agent CLI(二):CLI 框架搭建与子命令路由
人工智能·aigc
Awu12272 天前
⚡从零开发 Agent CLI(三):终端样式改造——从 console.log 到交互式 Ink UI
aigc·ai编程
草帽lufei2 天前
下班后把活交给AI,定时器让它晚上继续干活
aigc·ai编程
阿祖zu2 天前
别再优化 RAG 了,适配 Agent 的 LLM Wiki 知识库理念
前端·后端·aigc
墨风如雪2 天前
AI 火了,人人都想开源,GitHub 没你想的那么复杂
aigc