kenisgod commited on
Commit
066e2b0
1 Parent(s): d3c4f4e

Upload handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -12,7 +12,7 @@ class EndpointHandler:
12
  """
13
 
14
  # Get inputs
15
- text_input = data.pop("input", "")
16
 
17
  # Perform regular model task
18
  result = self.nlp(text_input)
 
12
  """
13
 
14
  # Get inputs
15
+ text_input = data.pop("inputs", "")
16
 
17
  # Perform regular model task
18
  result = self.nlp(text_input)