Use single-quotes instead of double quotes
This commit is contained in:
parent
fc56d2c0a8
commit
354ebba789
2
bot.py
2
bot.py
|
@ -71,7 +71,7 @@ if args.input is None:
|
|||
|
||||
# Run the input through the model
|
||||
print(args.input)
|
||||
inputs = tokenizer.encode(args.input, return_tensors="pt")
|
||||
inputs = tokenizer.encode(args.input, return_tensors='pt')
|
||||
output = tokenizer.decode(model.generate(
|
||||
inputs, do_sample=True, max_length=150, top_p=0.9)[0])
|
||||
print(output)
|
||||
|
|
Loading…
Reference in a new issue