fix: add explicit GPU memory cleanup between models to prevent OOM

This commit is contained in:
jetson committed 2026-09-21 10:19:29 +07:00
1 parent 6783ff3970
commit 93daa68668
6 files changed
+109 -5

No files matched your search

+26
View File
@@ -256,6 +256,32 @@
color: var(--color-neutral-500);
}
.empty-state p { margin-bottom: var(--space-2); }
/* Video delete button */
.video-delete-btn {
flex-shrink: 0;
width: 32px;
height: 32px;
display: inline-flex;
align-items: center;
justify-content: center;
border: 1px solid var(--color-neutral-200);
border-radius: var(--radius-sm);
background: var(--color-neutral-50);
color: var(--color-neutral-400);
cursor: pointer;
font-size: var(--text-sm);
transition: all var(--transition-fast);
opacity: 0;
}
.video-item:hover .video-delete-btn {
opacity: 1;
}
.video-delete-btn:hover {
background: #FEE2E2;
color: #DC2626;
border-color: #FECACA;
}
</style>
{% endblock %}