Skip to content

Commit e90e0d9

Browse files
committedJan 11, 2021
Remove accept_batch
1 parent 46359f4 commit e90e0d9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed
 

‎serve_pipeline/__init__.py

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ def __init__(self):
1515
# Here you would load your actual model.
1616
self.model = random.random
1717

18-
@serve.accept_batch
1918
def __call__(self, request):
2019
return self.model()
2120

0 commit comments

Comments
 (0)
Please sign in to comment.