Jaykintecblic
commited on
Commit
•
b849bba
1
Parent(s):
00fdfc5
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 = ["label": generated_text, "score": 1.0]
|
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
|