Spaces:
Runtime error
Runtime error
SnehaTiwari
commited on
Commit
·
3b76d9a
1
Parent(s):
54ea64b
Update app.py
Browse files
app.py
CHANGED
@@ -4,8 +4,8 @@ from PIL import Image
|
|
4 |
import math
|
5 |
import gradio as gr
|
6 |
|
7 |
-
pipeline = StableDiffusionPipeline.from_pretrained("MohamedRashad/diffusion_fashion"
|
8 |
-
pipeline.to("cuda")
|
9 |
|
10 |
def image_grid(imgs, rows, cols):
|
11 |
assert len(imgs) == rows*cols
|
|
|
4 |
import math
|
5 |
import gradio as gr
|
6 |
|
7 |
+
pipeline = StableDiffusionPipeline.from_pretrained("MohamedRashad/diffusion_fashion")
|
8 |
+
#pipeline.to("cuda")
|
9 |
|
10 |
def image_grid(imgs, rows, cols):
|
11 |
assert len(imgs) == rows*cols
|