Thomas Male
commited on
Update handler.py
Browse files- handler.py +2 -0
handler.py
CHANGED
@@ -59,6 +59,8 @@ class EndpointHandler():
|
|
59 |
A :obj:`dict`:. plotly json Data
|
60 |
"""
|
61 |
|
|
|
|
|
62 |
#Checks if an image key has been provided, and if so, uses the image data instead of text input
|
63 |
if "image" in data:
|
64 |
image_data_encoded = data.pop("image")
|
|
|
59 |
A :obj:`dict`:. plotly json Data
|
60 |
"""
|
61 |
|
62 |
+
use_image = False
|
63 |
+
|
64 |
#Checks if an image key has been provided, and if so, uses the image data instead of text input
|
65 |
if "image" in data:
|
66 |
image_data_encoded = data.pop("image")
|