fixed height for the progress view, produce more tokens (#33)

This commit is contained in:
David Koski
2024-03-19 08:56:37 -07:00
committed by GitHub
parent 857a10de91
commit 452b49aef0

View File

@@ -35,6 +35,7 @@ struct ContentView: View {
Spacer() Spacer()
if llm.running { if llm.running {
ProgressView() ProgressView()
.frame(maxHeight: 20)
Spacer() Spacer()
} }
Picker("", selection: $selectedDisplayStyle) { Picker("", selection: $selectedDisplayStyle) {
@@ -131,7 +132,7 @@ class LLMEvaluator {
/// parameters controlling the output /// parameters controlling the output
let temperature: Float = 0.6 let temperature: Float = 0.6
let maxTokens = 100 let maxTokens = 240
enum LoadState { enum LoadState {
case idle case idle