MCPcopy Create free account
hub / github.com/KDE/kdenlive / modelFolder

Method modelFolder

src/pythoninterfaces/saminterface.cpp:37–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37const QString SamInterface::modelFolder(bool)
38{
39 QDir dir(QStandardPaths::writableLocation(QStandardPaths::AppDataLocation));
40 const QString modelName = QStringLiteral("sam2models");
41 if (!dir.exists(modelName)) {
42 dir.mkpath(modelName);
43 }
44 return QStandardPaths::locate(QStandardPaths::AppDataLocation, modelName, QStandardPaths::LocateDirectory);
45}
46
47const QStringList SamInterface::getInstalledModels()
48{

Callers 8

downloadModelMethod · 0.45
deleteModelMethod · 0.45
checkHashesMethod · 0.45
startRecognitionMethod · 0.45
slotProcessSpeechMethod · 0.45
downloadSamModelMethod · 0.45
checkSamFolderSizeMethod · 0.45

Calls 1

existsMethod · 0.80

Tested by

no test coverage detected