Skip to content

Commit

Permalink
fix streaming handler (#424)
Browse files Browse the repository at this point in the history
  • Loading branch information
Glabred committed Jul 27, 2023
1 parent 845bfe2 commit d86f1ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/inference-deployments/mpt/mpt_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def predict_stream(self, **inputs: Dict):
generate_kwargs['streamer'] = streamer

thread = Thread(target=self.generator,
args=(generate_input),
args=(generate_input,),
kwargs=generate_kwargs)
thread.start()

Expand Down

0 comments on commit d86f1ba

Please sign in to comment.