mirror of
https://github.com/ravenscroftj/turbopilot.git
synced 2024-10-01 01:06:01 -04:00
fix cast problem due to incorrect float notation
This commit is contained in:
parent
757cc64a59
commit
88c5ede768
@ -44,13 +44,13 @@ int main(int argc, char **argv)
|
||||
|
||||
program.add_argument("--temperature")
|
||||
.help("Set the generation temperature")
|
||||
.default_value(0.2)
|
||||
.scan<'g', double>();
|
||||
.default_value(0.2f)
|
||||
.scan<'g', float>();
|
||||
|
||||
program.add_argument("--top-p")
|
||||
.help("Set the generation top_p")
|
||||
.default_value(0.1)
|
||||
.scan<'g', double>();
|
||||
.default_value(0.1f)
|
||||
.scan<'g', float>();
|
||||
|
||||
|
||||
program.add_argument("prompt").remaining();
|
||||
|
Loading…
Reference in New Issue
Block a user