Jaykintecblic
commited on
Commit
•
00fdfc5
1
Parent(s):
4754f2c
Update handler.py
Browse files- handler.py +1 -1
handler.py
CHANGED
@@ -63,6 +63,6 @@ class EndpointHandler:
|
|
63 |
# print(generated_text)
|
64 |
# return {"text": generated_text}
|
65 |
# Format the output as an array of dictionaries with 'label' and 'score'
|
66 |
-
output = [
|
67 |
|
68 |
return output
|
|
|
63 |
# print(generated_text)
|
64 |
# return {"text": generated_text}
|
65 |
# Format the output as an array of dictionaries with 'label' and 'score'
|
66 |
+
output = ["label": generated_text, "score": 1.0]
|
67 |
|
68 |
return output
|