mirror of
https://github.com/facefusion/facefusion.git
synced 2026-04-22 09:26:02 +02:00
add drive_path
This commit is contained in:
@@ -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 ])
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user