mirror of
https://github.com/nomic-ai/gpt4all
synced 2024-11-06 09:20:33 +00:00
Comment out the list of chat features until it is ready.
This commit is contained in:
parent
e1677cb353
commit
f4ab48b0fa
2
gptj.cpp
2
gptj.cpp
@ -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();
|
||||
|
1
llm.h
1
llm.h
@ -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;
|
||||
|
51
main.qml
51
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
|
||||
|
Loading…
Reference in New Issue
Block a user