chansung commited on
Commit
4406199
·
1 Parent(s): 1b339ed

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +2 -0
handler.py CHANGED
@@ -1,6 +1,7 @@
1
  from typing import Dict, List, Any
2
 
3
  import base64
 
4
  import math
5
  import numpy as np
6
  import tensorflow as tf
@@ -56,6 +57,7 @@ class EndpointHandler():
56
  def __call__(self, data: Dict[str, Any]) -> str:
57
  # get inputs
58
  contexts = data.pop("inputs", data)
 
59
 
60
  batch_size = data.pop("batch_size", 1)
61
 
 
1
  from typing import Dict, List, Any
2
 
3
  import base64
4
+ import logging
5
  import math
6
  import numpy as np
7
  import tensorflow as tf
 
57
  def __call__(self, data: Dict[str, Any]) -> str:
58
  # get inputs
59
  contexts = data.pop("inputs", data)
60
+ logging.warning(contexts)
61
 
62
  batch_size = data.pop("batch_size", 1)
63