From 49cc14385d2f6c9baf8d251dbc517ca566e8a30a Mon Sep 17 00:00:00 2001 From: harisreedhar Date: Mon, 9 Feb 2026 17:54:08 +0530 Subject: [PATCH] add drive_path --- facefusion/system.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/facefusion/system.py b/facefusion/system.py index cd3970f5..f3546e08 100644 --- a/facefusion/system.py +++ b/facefusion/system.py @@ -1,4 +1,5 @@ import shutil +from pathlib import Path from typing import List from facefusion import state_manager @@ -7,10 +8,12 @@ from facefusion.types import DiskMetrics, Metrics def get_metrics_set() -> Metrics: + drive_path = Path(state_manager.get_temp_path()).anchor + return\ { 'execution_devices': detect_execution_devices(), - 'disks': detect_disk_metrics([ state_manager.get_temp_path() ]) + 'disks': detect_disk_metrics([ drive_path ]) }