mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-09-04 18:11:02 +00:00
chat: major UI redesign for v3.0.0 (#2396)
Signed-off-by: Adam Treat <treat.adam@gmail.com> Signed-off-by: Jared Van Bortel <jared@nomic.ai> Co-authored-by: Jared Van Bortel <jared@nomic.ai>
This commit is contained in:
@@ -22,6 +22,8 @@
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
using namespace Qt::Literals::StringLiterals;
|
||||
|
||||
class QDataStream;
|
||||
|
||||
enum LLModelType {
|
||||
@@ -68,7 +70,7 @@ private Q_SLOTS:
|
||||
void handleTimeout()
|
||||
{
|
||||
m_elapsed += m_time.restart();
|
||||
emit report(QString("%1 tokens/sec").arg(m_tokens / float(m_elapsed / 1000.0f), 0, 'g', 2));
|
||||
emit report(u"%1 tokens/sec"_s.arg(m_tokens / float(m_elapsed / 1000.0f), 0, 'g', 2));
|
||||
}
|
||||
|
||||
private:
|
||||
|
Reference in New Issue
Block a user