AP123 commited on
Commit
9fc4651
1 Parent(s): 2ad848e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -3,6 +3,7 @@ import torch
3
  from PIL import Image
4
  from diffusers import AutoPipelineForText2Image, DDIMScheduler
5
  import numpy as np
 
6
  import spaces # Make sure to import spaces
7
 
8
  # Initialize the pipeline
 
3
  from PIL import Image
4
  from diffusers import AutoPipelineForText2Image, DDIMScheduler
5
  import numpy as np
6
+ from torchvision import transforms
7
  import spaces # Make sure to import spaces
8
 
9
  # Initialize the pipeline