mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-09-01 04:14:38 +08:00
Add missing import (#497)
* Add missing import * format --------- Co-authored-by: Awni Hannun <awni@apple.com>
This commit is contained in:
@@ -115,7 +115,14 @@ def main(args):
|
||||
formatter = colorprint_by_t0 if args.colorize else None
|
||||
|
||||
generate(
|
||||
model, tokenizer, prompt, args.temp, args.max_tokens, True, formatter=formatter, top_p=args.top_p
|
||||
model,
|
||||
tokenizer,
|
||||
prompt,
|
||||
args.temp,
|
||||
args.max_tokens,
|
||||
True,
|
||||
formatter=formatter,
|
||||
top_p=args.top_p,
|
||||
)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user