hysts HF staff commited on
Commit
1925f49
1 Parent(s): 54d2095

Apply isort

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -2,6 +2,7 @@ import datetime
2
  import os
3
  import sys
4
  import uuid
 
5
 
6
  import cv2
7
  import gradio as gr
@@ -10,12 +11,12 @@ import spaces
10
  import torch
11
  import torchvision
12
  from diffusers.utils.import_utils import is_xformers_available
 
13
  from packaging import version
14
  from PIL import Image
15
  from scipy.interpolate import PchipInterpolator
16
 
17
  sys.path.insert(0, os.getcwd())
18
- import warnings
19
 
20
  from gradio_demo.utils_drag import *
21
  from models_diffusers.controlnet_svd import ControlNetSVDModel
@@ -24,7 +25,6 @@ from pipelines.pipeline_stable_video_diffusion_interp_control import StableVideo
24
 
25
  print("gr file", gr.__file__)
26
 
27
- from huggingface_hub import hf_hub_download, snapshot_download
28
 
29
  os.makedirs("checkpoints", exist_ok=True)
30
 
 
2
  import os
3
  import sys
4
  import uuid
5
+ import warnings
6
 
7
  import cv2
8
  import gradio as gr
 
11
  import torch
12
  import torchvision
13
  from diffusers.utils.import_utils import is_xformers_available
14
+ from huggingface_hub import snapshot_download
15
  from packaging import version
16
  from PIL import Image
17
  from scipy.interpolate import PchipInterpolator
18
 
19
  sys.path.insert(0, os.getcwd())
 
20
 
21
  from gradio_demo.utils_drag import *
22
  from models_diffusers.controlnet_svd import ControlNetSVDModel
 
25
 
26
  print("gr file", gr.__file__)
27
 
 
28
 
29
  os.makedirs("checkpoints", exist_ok=True)
30