multimodalart HF staff commited on
Commit
8340be4
β€’
1 Parent(s): 2d4fc1f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,9 +1,10 @@
1
  import torch
 
2
  from diffusers import StableDiffusionPipeline, DDIMScheduler, AutoencoderKL
3
  from ip_adapter.ip_adapter_faceid import IPAdapterFaceID
4
  from huggingface_hub import hf_hub_download
5
  from insightface.app import FaceAnalysis
6
- import spaces
7
 
8
  app = FaceAnalysis(name="buffalo_l", providers=['CUDAExecutionProvider', 'CPUExecutionProvider'])
9
  app.prepare(ctx_id=0, det_size=(640, 640))
 
1
  import torch
2
+ import spaces
3
  from diffusers import StableDiffusionPipeline, DDIMScheduler, AutoencoderKL
4
  from ip_adapter.ip_adapter_faceid import IPAdapterFaceID
5
  from huggingface_hub import hf_hub_download
6
  from insightface.app import FaceAnalysis
7
+
8
 
9
  app = FaceAnalysis(name="buffalo_l", providers=['CUDAExecutionProvider', 'CPUExecutionProvider'])
10
  app.prepare(ctx_id=0, det_size=(640, 640))