AP123 commited on
Commit
c193464
1 Parent(s): 94a0a78

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -4,9 +4,9 @@ from PIL import Image
4
  from diffusers import AutoPipelineForText2Image, DDIMScheduler
5
  from transformers import CLIPVisionModelWithProjection
6
  import numpy as np
7
- import spaces # Import ZeroGPU decorator
 
8
 
9
- # Load models and configure pipeline
10
  image_encoder = CLIPVisionModelWithProjection.from_pretrained(
11
  "h94/IP-Adapter",
12
  subfolder="models/image_encoder",
 
4
  from diffusers import AutoPipelineForText2Image, DDIMScheduler
5
  from transformers import CLIPVisionModelWithProjection
6
  import numpy as np
7
+ import spaces
8
+
9
 
 
10
  image_encoder = CLIPVisionModelWithProjection.from_pretrained(
11
  "h94/IP-Adapter",
12
  subfolder="models/image_encoder",