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:
|
finally:
|
||||||
# Record state after the invocation.
|
# Record state after the invocation.
|
||||||
node_stats = NodeExecutionStats(
|
node_stats = NodeExecutionStats(
|
||||||
invocation_type=invocation.type,
|
invocation_type=invocation.get_type(),
|
||||||
start_time=start_time,
|
start_time=start_time,
|
||||||
end_time=time.time(),
|
end_time=time.time(),
|
||||||
start_ram_gb=start_ram / GB,
|
start_ram_gb=start_ram / GB,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user