Update handler.py
Browse files- handler.py +1 -1
handler.py
CHANGED
@@ -33,4 +33,4 @@ class EndpointHandler:
|
|
33 |
# postprocess the prediction
|
34 |
prediction = outputs[0].cpu().numpy()
|
35 |
|
36 |
-
return [{"
|
|
|
33 |
# postprocess the prediction
|
34 |
prediction = outputs[0].cpu().numpy()
|
35 |
|
36 |
+
return [{"generated_text": prediction}]
|