Make videos on the computer you already own. FreeVideo runs MiniMax H3 in as little as 8 GB of VRAM and 16 GB of RAM, and adapts its acceleration path to your hardware.
Launcher: fields keep what was typed after a failed start
Bowen Xued4fa7ab665a5
diff --git a/freevideo_engine/launcher/FField.qml b/freevideo_engine/launcher/FField.qmlindex c619e6e..0aac12f 100644--- a/freevideo_engine/launcher/FField.qml+++ b/freevideo_engine/launcher/FField.qml@@ -3,6 +3,19 @@ import QtQuick.Controls.BasicTextField {id: control+ // State updates must preserve the draft until the user submits it.+ property var value: undefined+ Binding {+ target: control; property: "text"+ value: control.value === undefined ? "" : control.value+ when: control.value !== undefined && !control.activeFocus+ restoreMode: Binding.RestoreNone+ }+ // Return keeps focus; sync after editingFinished commits or rejects input.+ onAccepted: Qt.callLater(function() {+ if (control.value !== undefined)+ control.text = control.value+ })implicitHeight: theme.height + 4color: theme.text; placeholderTextColor: theme.disabledselectionColor: theme.accentDim; selectedTextColor: theme.textdiff --git a/freevideo_engine/launcher/Main.qml b/freevideo_engine/launcher/Main.qmlindex 22495fb..806b6e7 100644--- a/freevideo_engine/launcher/Main.qml+++ b/freevideo_engine/launcher/Main.qml@@ -471,7 +471,7 @@ ApplicationWindow {FText { text: s.form.new_comfy ? t("Install location", "安装位置") : t("ComfyUI folder", "ComfyUI 目录"); font.weight: Font.DemiBold }RowLayout {Layout.fillWidth: true; spacing: 8- FField { objectName: "installationPath"; Layout.fillWidth: true; text: s.form.new_comfy ? s.form.destination : s.form.comfy; placeholderText: t("Choose a folder", "选择文件夹"); enabled: !s.busy; onEditingFinished: backend.edit(s.form.new_comfy ? "destination" : "comfy", text) }+ FField { objectName: "installationPath"; Layout.fillWidth: true; value: s.form.new_comfy ? s.form.destination : s.form.comfy; placeholderText: t("Choose a folder", "选择文件夹"); enabled: !s.busy; onEditingFinished: backend.edit(s.form.new_comfy ? "destination" : "comfy", text) }FButton { text: t("Browse…", "浏览…"); implicitHeight: theme.height + 4; onClicked: backend.browse(s.form.new_comfy ? "destination" : "comfy") }}FText { visible: !s.form.new_comfy; text: t("Uses your existing Python when available. A separate environment loads only FreeVideo.", "优先使用已有 Python;独立环境仅加载 FreeVideo。"); color: theme.muted; font.pixelSize: theme.micro; Layout.fillWidth: true }@@ -1159,16 +1159,16 @@ ApplicationWindow {Layout.fillWidth: true; visible: settingsTab === "advanced"; spacing: 20; enabled: !s.busyFGroup {Layout.fillWidth: true; title: t("ComfyUI address", "ComfyUI 地址")- FField { objectName: "listenAddress"; Layout.fillWidth: true; text: s.form.url; enabled: !s.form.lan_access; onEditingFinished: backend.edit("url", text) }+ FField { objectName: "listenAddress"; Layout.fillWidth: true; value: s.form.url; enabled: !s.form.lan_access; onEditingFinished: backend.edit("url", text) }FText { objectName: "listenAddressHint"; text: t("With 0.0.0.0 or this computer's LAN IP, devices on the same network can open FreeVideo without the access link.", "填 0.0.0.0 或本机的局域网 IP 后,同一网络中的设备不需要访问链接就能打开 FreeVideo。"); color: theme.muted; font.pixelSize: theme.micro; Layout.fillWidth: true }FText { visible: Qt.platform.os === "windows"; text: t("If Windows asks about the firewall the first time, choose Allow.", "Windows 首次询问防火墙权限时,请选择“允许”。"); color: theme.muted; font.pixelSize: theme.micro; Layout.fillWidth: true }}FGroup {Layout.fillWidth: true; title: t("Folders · optional", "目录 · 可选"); enabled: !s.portableFText { text: t("Engine folder", "引擎目录"); font.pixelSize: theme.micro; color: theme.muted }- RowLayout { Layout.fillWidth: true; spacing: 8; FField { Layout.fillWidth: true; text: s.form.engine; placeholderText: t("Automatic", "自动选择"); onEditingFinished: backend.edit("engine", text) } FButton { text: t("Browse…", "浏览…"); implicitHeight: theme.height + 4; onClicked: backend.browse("engine") } }+ RowLayout { Layout.fillWidth: true; spacing: 8; FField { Layout.fillWidth: true; value: s.form.engine; placeholderText: t("Automatic", "自动选择"); onEditingFinished: backend.edit("engine", text) } FButton { text: t("Browse…", "浏览…"); implicitHeight: theme.height + 4; onClicked: backend.browse("engine") } }FText { text: t("ComfyUI Python", "ComfyUI Python"); font.pixelSize: theme.micro; color: theme.muted; Layout.topMargin: 4 }- FField { Layout.fillWidth: true; text: s.form.python; placeholderText: t("Path to python.exe", "python.exe 的路径"); onEditingFinished: backend.edit("python", text) }+ FField { Layout.fillWidth: true; value: s.form.python; placeholderText: t("Path to python.exe", "python.exe 的路径"); onEditingFinished: backend.edit("python", text) }}FGroup {Layout.fillWidth: true; title: t("Maintenance", "维护"); enabled: !s.portablediff --git a/freevideo_engine/launcher_session.py b/freevideo_engine/launcher_session.pyindex a23e4e8..34c9f0a 100644--- a/freevideo_engine/launcher_session.py+++ b/freevideo_engine/launcher_session.py@@ -1633,6 +1633,7 @@ class Session:from .launcher_copy import display, progress_view, source_namezh = self.language.startswith('zh')row = self.controller.state+ busy = self.controller.busy or self.importer.busy or self.cleaner.busytask = row.get('task', {})port_from = int(row['moved_from']) if row.get('status') == 'open' and 'moved_from' in row else 0port_to = (urlsplit(row.get('selection', {}).get('url') or row['url']).port or 80) if port_from else 0@@ -1797,7 +1798,7 @@ class Session:download_state.update(error=self.t(*DOWNLOAD_COPY['error_read']), needs_check=True)return plain_data(dict(download_list=download_state, sampling_cache_bytes=total_bytes(), version=__version__,disk=disk, decimal_sizes=sys.platform == 'darwin', zh=self.language.startswith('zh'), form=dict(self.form),- page=self.page, status=row.get('status', 'idle'), busy=self.controller.busy or self.importer.busy or self.cleaner.busy,+ page=self.page, status=row.get('status', 'idle'), busy=busy,cleanup=cleanup,can_cleanup=not (self.controller.busy or self.importer.busy or self.cleaner.busy or self.archives_busy or self.closingor self.update_intent or self.engine_updating or self.updater and self.updater.busy@@ -1815,7 +1816,9 @@ class Session:report=dict(self.report),models=models, overall=overall, progress=progress, detail='' if file_text else clean(progress.get('detail', '')),progress_text=file_text, remaining_seconds=remaining,- elapsed=duration(time.monotonic()-self.started) if self.started else '', summary=' · '.join(estimate),+ # The elapsed row is only shown while working. An idle clock would+ # keep publishing changed snapshots after a launch has failed.+ elapsed=duration(time.monotonic()-self.started) if self.started and busy else '', summary=' · '.join(estimate),failure=failure,source=source, source_name=source_name(source, zh), proxy_mode=preferences['proxy_mode'],probe=probe, speeds=speeds, token_set=bool(self.token),diff --git a/freevideo_engine/modern_launcher.py b/freevideo_engine/modern_launcher.pyindex a651d0c..8e003f2 100644--- a/freevideo_engine/modern_launcher.py+++ b/freevideo_engine/modern_launcher.py@@ -134,10 +134,12 @@ def create_ui(session, *, show=True):# The card says what to do; the details keep the cause.from .failure_details import launcher_failurezh = session.language.startswith('zh')- self.value = dict(self.value, error=session.error, failure=launcher_failure(session.error, zh=zh))+ value = dict(self.value, error=session.error, failure=launcher_failure(session.error, zh=zh))else:- self.value = dict(self.value, error=session.error)- self.changed.emit()+ value = dict(self.value, error=session.error)+ if value != self.value:+ self.value = value+ self.changed.emit()@Slot(str, 'QVariant')def edit(self, key, value):