Skip to content

Commit

Permalink
try restricting batch size to 2 to avoid excessive memory use
Browse files Browse the repository at this point in the history
  • Loading branch information
chanind committed May 19, 2022
1 parent cfc4d21 commit 4f2e58c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo/server/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
CORS(app)


transformer = FrameSemanticTransformer()
transformer = FrameSemanticTransformer(max_batch_size=2)


@app.errorhandler(400)
Expand Down

0 comments on commit 4f2e58c

Please sign in to comment.