Javitron4257 commited on
Commit
24c1425
1 Parent(s): 7bfa78c

Create hola-perro-gato.py

Browse files
Files changed (1) hide show
  1. hola-perro-gato.py +6 -0
hola-perro-gato.py ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ from diffusers import DiffusionPipeline
2
+ import torch
3
+
4
+ pipeline = DiffusionPipeline.from_pretrained("modelo_clase1610", torch_dtype=torch.float16)
5
+ pipeline.to("cuda")
6
+ pipeline("Una imagen de una ardilla al estilo Picasso").images[0]