LN1996 commited on
Commit
c01661b
·
verified ·
1 Parent(s): 0009e52

Update app.py

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