talalif commited on
Commit
692f7c8
·
verified ·
1 Parent(s): cb806f5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -43,7 +43,11 @@ with open ("./MuseV/configs/model/T2I_all_model.py","r+") as scrip:
43
  scrip.truncate()
44
  scrip.seek(0)
45
 
 
 
46
  def add_new_image(image):
 
 
47
  img_settings = """- condition_images: ./MuseV/data/images/yongen.jpeg
48
  eye_blinks_factor: 1.8
49
  height: 1308
 
43
  scrip.truncate()
44
  scrip.seek(0)
45
 
46
+ from PIL import image
47
+
48
  def add_new_image(image):
49
+ print(image)
50
+ image = Image.open(image)
51
  img_settings = """- condition_images: ./MuseV/data/images/yongen.jpeg
52
  eye_blinks_factor: 1.8
53
  height: 1308