mirror of
https://github.com/denizsafak/abogen.git
synced 2026-07-18 13:40:27 +02:00
feat: Update Dockerfile to include mutagen dependency and enhance dashboard event handling
This commit is contained in:
+2
-1
@@ -35,7 +35,8 @@ RUN pip install --upgrade pip \
|
|||||||
pip install torch torchvision torchaudio --index-url "$TORCH_INDEX_URL"; \
|
pip install torch torchvision torchaudio --index-url "$TORCH_INDEX_URL"; \
|
||||||
fi \
|
fi \
|
||||||
&& pip install --no-cache-dir . \
|
&& pip install --no-cache-dir . \
|
||||||
https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.8.0/en_core_web_sm-3.8.0-py3-none-any.whl
|
https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.8.0/en_core_web_sm-3.8.0-py3-none-any.whl \
|
||||||
|
&& pip install --no-cache-dir "mutagen>=1.47.0"
|
||||||
|
|
||||||
ENV ABOGEN_HOST=0.0.0.0 \
|
ENV ABOGEN_HOST=0.0.0.0 \
|
||||||
ABOGEN_PORT=8808
|
ABOGEN_PORT=8808
|
||||||
|
|||||||
@@ -205,8 +205,9 @@ const initDashboard = () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
document.addEventListener("click", (event) => {
|
document.addEventListener("click", (event) => {
|
||||||
const target = event.target;
|
const rawTarget = event.target;
|
||||||
if (!(target instanceof Element)) {
|
const target = rawTarget instanceof Element ? rawTarget : rawTarget?.parentElement || null;
|
||||||
|
if (!target) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1191,6 +1191,21 @@ body {
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: background 0.2s ease, color 0.2s ease;
|
transition: background 0.2s ease, color 0.2s ease;
|
||||||
}
|
}
|
||||||
|
.prepare-wizard[data-speaker-step="disabled"] [data-step-key="speakers"] {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.prepare-wizard[data-speaker-step="disabled"] [data-speaker-panel="true"] {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
.prepare-wizard[data-speaker-step="enabled"] [data-chapter-action="finalize"] {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.prepare-wizard[data-speaker-step="disabled"] [data-chapter-action="continue"] {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.prepare-wizard[data-speaker-step="disabled"] [data-chapter-action="finalize"] {
|
||||||
|
display: inline-flex;
|
||||||
|
}
|
||||||
|
|
||||||
.field--file input[type="file"]:hover::file-selector-button,
|
.field--file input[type="file"]:hover::file-selector-button,
|
||||||
.field--file input[type="file"]:focus::file-selector-button,
|
.field--file input[type="file"]:focus::file-selector-button,
|
||||||
|
|||||||
Reference in New Issue
Block a user