File tree Expand file tree Collapse file tree
App/Sources/Features/Settings Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ struct SettingsView: View {
88 var body : some View {
99 Form {
1010 Section ( " HuggingFace Account " ) { authSection }
11- Section ( " Backend " ) { backendSection }
1211 if let runtime, !runtime. engines. isEmpty {
1312 Section ( " Engines " ) { enginesSection ( runtime) }
1413 }
@@ -65,17 +64,6 @@ struct SettingsView: View {
6564 }
6665 }
6766
68- @ViewBuilder
69- private var backendSection : some View {
70- LabeledContent ( " Status " ) {
71- Label ( " Running " , systemImage: " checkmark.circle.fill " ) . foregroundStyle ( Theme . success)
72- }
73- if let runtime {
74- LabeledContent ( " Python " , value: runtime. pythonVersion)
75- LabeledContent ( " Platform " , value: " \( runtime. platform) · \( runtime. machine) " )
76- }
77- }
78-
7967 @ViewBuilder
8068 private func enginesSection( _ runtime: RuntimeInfo ) -> some View {
8169 ForEach ( runtime. engines. sorted ( by: { $0. key < $1. key } ) , id: \. key) { name, available in
You can’t perform that action at this time.
0 commit comments