Comment out the list of chat features until it is ready.

pull/520/head
Adam Treat 1 year ago
parent b8f8a37d87
commit 47d3fd1621

@ -740,7 +740,7 @@ void GPTJ::prompt(const std::string &prompt, std::function<bool(const std::strin
break;
}
#if 1
#if 0
// report timing
{
const int64_t t_main_end_us = ggml_time_us();

@ -36,7 +36,6 @@ private:
private:
GPTJ *m_gptj;
std::stringstream m_debug;
std::string m_response;
QThread m_llmThread;
std::atomic<bool> m_stopGenerating;

@ -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"
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: 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"
// }
// }
// }
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

Loading…
Cancel
Save