Update app.py
Browse files
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 "
|
12 |
-
image_data = sketch["
|
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 |
|