Commit 03680fee authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Comment out attempt to fix windows python's env vars

parent dff32d8e
Pipeline #52420 canceled with stage
......@@ -783,6 +783,7 @@ void TextBasedEdit::startRecognition()
}
m_speechJob.reset(new QProcess(this));
/*
#ifdef Q_OS_WIN
QProcessEnvironment env = QProcessEnvironment::systemEnvironment();
QDir pythonDir(QFileInfo(pyExec).absolutePath());
......@@ -791,6 +792,7 @@ void TextBasedEdit::startRecognition()
env.insert("PYTHONPATH", pythonDir.absolutePath());
m_speechJob->setProcessEnvironment(env);
#endif
*/
showMessage(i18n("Starting speech recognition"), KMessageWidget::Information);
qApp->processEvents();
QString modelDirectory = KdenliveSettings::vosk_folder_path();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment