From 380f818285d2a0add330d50fe4df4c08e4819649 Mon Sep 17 00:00:00 2001 From: Yifei Zhang Date: Wed, 29 Mar 2023 20:00:23 +0800 Subject: [PATCH] fix: #159 temperature should range 0 - 2 --- app/components/settings.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/settings.tsx b/app/components/settings.tsx index 06a8db23..241cebae 100644 --- a/app/components/settings.tsx +++ b/app/components/settings.tsx @@ -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(