fix: #159 temperature should range 0 - 2

This commit is contained in:
Yifei Zhang 2023-03-29 20:00:23 +08:00 committed by GitHub
parent f893f53b1c
commit 380f818285
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -389,7 +389,7 @@ export function Settings(props: { closeSettings: () => void }) {
type="range"
value={config.modelConfig.temperature.toFixed(1)}
min="0"
max="1"
max="2"
step="0.1"
onChange={(e) => {
updateConfig(