Thomas Male commited on
Commit
c00aac4
·
verified ·
1 Parent(s): fa84497

Update handler.py

Browse files
Files changed (1) hide show
  1. 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")