ResearcherXman commited on
Commit
5b3c0e4
1 Parent(s): 5853f77
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -4,6 +4,8 @@ import torch
4
  import random
5
  import numpy as np
6
 
 
 
7
  import PIL
8
  from PIL import Image
9
 
@@ -22,8 +24,6 @@ from controlnet_util import openpose, get_depth_map, get_canny_image
22
 
23
  import gradio as gr
24
 
25
- import spaces
26
-
27
  # global variable
28
  MAX_SEED = np.iinfo(np.int32).max
29
  device = "cuda" if torch.cuda.is_available() else "cpu"
 
4
  import random
5
  import numpy as np
6
 
7
+ import spaces
8
+
9
  import PIL
10
  from PIL import Image
11
 
 
24
 
25
  import gradio as gr
26
 
 
 
27
  # global variable
28
  MAX_SEED = np.iinfo(np.int32).max
29
  device = "cuda" if torch.cuda.is_available() else "cpu"