Spaces:
Running
Running
Update app.py
Browse files
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(
|
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')
|