Lin0He commited on
Commit
b9c13ac
·
1 Parent(s): c5d0bfd

Upload handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -87,7 +87,7 @@ class EndpointHandler:
87
  inputs = data.pop("inputs", data)
88
  # process input text
89
  prediction = self.predict(inputs)
90
- return prediction
91
 
92
 
93
 
 
87
  inputs = data.pop("inputs", data)
88
  # process input text
89
  prediction = self.predict(inputs)
90
+ return {"text":prediction}
91
 
92
 
93