Allow for download of models hosted on third party hosts.

This commit is contained in:
Adam Treat
2023-06-04 19:02:43 -04:00
parent 5073630759
commit bdba2e8de6
2 changed files with 13 additions and 6 deletions

View File

@@ -23,6 +23,7 @@ struct ModelInfo {
Q_PROPERTY(bool isChatGPT MEMBER isChatGPT)
Q_PROPERTY(QString description MEMBER description)
Q_PROPERTY(QString requiresVersion MEMBER requiresVersion)
Q_PROPERTY(QString url MEMBER url)
public:
QString filename;
@@ -37,6 +38,7 @@ public:
bool isChatGPT = false;
QString description;
QString requiresVersion;
QString url;
};
Q_DECLARE_METATYPE(ModelInfo)