Lin0He commited on
Commit
aba3a1a
·
1 Parent(s): e4799b6

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 {"text":prediction}
91
 
92
 
93
 
 
87
  inputs = data.pop("inputs", data)
88
  # process input text
89
  prediction = self.predict(inputs)
90
+ return prediction
91
 
92
 
93