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