LN1996 commited on
Commit
937ea93
1 Parent(s): 58777ad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ f = modal.Cls.lookup("casa-interior-hf-v1", "DesignModel")
5
  def casa_ai_run(dict=None, text=None):
6
 
7
  image = dict["background"].convert("RGB")
8
- mask = dict["layers"][0].convert("RGB")
9
 
10
  if image is None and text is None:
11
  print('Please provide context in form of image, audio, text')
 
5
  def casa_ai_run(dict=None, text=None):
6
 
7
  image = dict["background"].convert("RGB")
8
+ mask = dict["layers"][0].convert('L')
9
 
10
  if image is None and text is None:
11
  print('Please provide context in form of image, audio, text')