Spaces:
Running
on
Zero
Running
on
Zero
votepurchase
commited on
Commit
•
52b62d9
1
Parent(s):
12d9e72
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,4 @@
|
|
|
|
1 |
import gradio as gr
|
2 |
import numpy as np
|
3 |
import PIL.Image
|
@@ -7,7 +8,6 @@ from diffusers import ControlNetModel, StableDiffusionXLPipeline, AutoencoderKL
|
|
7 |
from diffusers import DDIMScheduler, EulerAncestralDiscreteScheduler
|
8 |
import cv2
|
9 |
import torch
|
10 |
-
import spaces
|
11 |
|
12 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
13 |
|
|
|
1 |
+
import spaces
|
2 |
import gradio as gr
|
3 |
import numpy as np
|
4 |
import PIL.Image
|
|
|
8 |
from diffusers import DDIMScheduler, EulerAncestralDiscreteScheduler
|
9 |
import cv2
|
10 |
import torch
|
|
|
11 |
|
12 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
13 |
|