From f4ab48b0fa774bc3569bf07d4a28fae69d2bb040 Mon Sep 17 00:00:00 2001 From: Adam Treat Date: Sun, 9 Apr 2023 20:23:52 -0400 Subject: [PATCH] Comment out the list of chat features until it is ready. --- gptj.cpp | 2 +- llm.h | 1 - main.qml | 51 ++++++++++++++++++++++++++------------------------- 3 files changed, 27 insertions(+), 27 deletions(-) diff --git a/gptj.cpp b/gptj.cpp index fb882f95..ee29538b 100644 --- a/gptj.cpp +++ b/gptj.cpp @@ -740,7 +740,7 @@ void GPTJ::prompt(const std::string &prompt, std::function m_stopGenerating; diff --git a/main.qml b/main.qml index ef126429..3af7ac7f 100644 --- a/main.qml +++ b/main.qml @@ -9,36 +9,37 @@ Window { visible: true title: qsTr("GPT4All Chat") - Rectangle { - id: conversationList - width: 300 - anchors.left: parent.left - anchors.top: parent.top - anchors.bottom: parent.bottom - color: "#202123" +// Rectangle { +// id: conversationList +// width: 300 +// anchors.left: parent.left +// anchors.top: parent.top +// anchors.bottom: parent.bottom +// color: "#202123" - Button { - id: newChat - text: qsTr("New chat") - anchors.top: parent.top - anchors.left: parent.left - anchors.right: parent.right - anchors.margins: 15 - padding: 15 - background: Rectangle { - opacity: .5 - border.color: "#7d7d8e" - border.width: 1 - radius: 10 - color: "#343541" - } - } - } +// Button { +// id: newChat +// text: qsTr("New chat") +// anchors.top: parent.top +// anchors.left: parent.left +// anchors.right: parent.right +// anchors.margins: 15 +// padding: 15 +// background: Rectangle { +// opacity: .5 +// border.color: "#7d7d8e" +// border.width: 1 +// radius: 10 +// color: "#343541" +// } +// } +// } Rectangle { id: conversation color: "#343541" - anchors.left: conversationList.right +// anchors.left: conversationList.right + anchors.left: parent.left anchors.right: parent.right anchors.bottom: parent.bottom anchors.top: parent.top