Skip to content

Commit

Permalink
refactoring __main__
Browse files Browse the repository at this point in the history
  • Loading branch information
antunsz committed Mar 17, 2024
1 parent d83e937 commit 5c8ad25
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/fastserve/models/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
elif args.model == "huggingface":
app = ServeHuggingFace(
model_name=args.model_name,
use_gpu=True if args.use_gpu else False,
device=device,
timeout=args.timeout,
batch_size=args.batch_size,
Expand Down

0 comments on commit 5c8ad25

Please sign in to comment.