mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(invocation-stats): use appropriate method to get the type of an invocation
This commit is contained in:
parent
9f274c79dc
commit
3ebb806410
@ -64,7 +64,7 @@ class InvocationStatsService(InvocationStatsServiceBase):
|
||||
finally:
|
||||
# Record state after the invocation.
|
||||
node_stats = NodeExecutionStats(
|
||||
invocation_type=invocation.type,
|
||||
invocation_type=invocation.get_type(),
|
||||
start_time=start_time,
|
||||
end_time=time.time(),
|
||||
start_ram_gb=start_ram / GB,
|
||||
|
Loading…
Reference in New Issue
Block a user