Update handler.py
Browse files- handler.py +3 -0
handler.py
CHANGED
@@ -82,3 +82,6 @@ class EndpointHandler():
|
|
82 |
# process input text
|
83 |
prediction = model_infer( self.model, self.tokenizer, inputs+"TL;DR")
|
84 |
return prediction
|
|
|
|
|
|
|
|
82 |
# process input text
|
83 |
prediction = model_infer( self.model, self.tokenizer, inputs+"TL;DR")
|
84 |
return prediction
|
85 |
+
|
86 |
+
|
87 |
+
my_handler = EndpointHandler(path=".")
|