Jangai commited on
Commit
fd8f944
·
verified ·
1 Parent(s): 4da9241

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -8,8 +8,8 @@ logging.basicConfig(level=logging.DEBUG)
8
  def display_sketch(sketch):
9
  logging.debug(f"Received sketch data: {sketch}")
10
 
11
- if isinstance(sketch, dict) and "image" in sketch:
12
- image_data = sketch["image"]
13
  logging.debug(f"Image data type: {type(image_data)}")
14
  logging.debug(f"Image data shape: {np.array(image_data).shape}")
15
 
 
8
  def display_sketch(sketch):
9
  logging.debug(f"Received sketch data: {sketch}")
10
 
11
+ if isinstance(sketch, dict) and "composite" in sketch:
12
+ image_data = sketch["composite"]
13
  logging.debug(f"Image data type: {type(image_data)}")
14
  logging.debug(f"Image data shape: {np.array(image_data).shape}")
15