Update app.py
Browse files
app.py
CHANGED
|
@@ -30,7 +30,6 @@ import os
|
|
| 30 |
import httpx
|
| 31 |
|
| 32 |
print("[BOOT] Video Editor API starting…")
|
| 33 |
-
# Remove this line as it is redundant and already imported at the top of the file.
|
| 34 |
POINTER_URL = os.getenv("BACKEND_POINTER_URL", "").strip()
|
| 35 |
FALLBACK_BASE = os.getenv("BACKEND_BASE_URL", "http://127.0.0.1:8765").strip()
|
| 36 |
print(f"[BOOT] POINTER_URL={POINTER_URL or '(unset)'}")
|
|
@@ -1165,7 +1164,7 @@ async function refreshWarmupUI(){
|
|
| 1165 |
|
| 1166 |
const pct = Math.max(0, Math.min(100, parseInt(s.percent||0,10)));
|
| 1167 |
const running = !!s.running;
|
| 1168 |
-
|
| 1169 |
if (warmupStatusEl) {
|
| 1170 |
const tot = (s.total ?? 0);
|
| 1171 |
if (running) {
|
|
|
|
| 30 |
import httpx
|
| 31 |
|
| 32 |
print("[BOOT] Video Editor API starting…")
|
|
|
|
| 33 |
POINTER_URL = os.getenv("BACKEND_POINTER_URL", "").strip()
|
| 34 |
FALLBACK_BASE = os.getenv("BACKEND_BASE_URL", "http://127.0.0.1:8765").strip()
|
| 35 |
print(f"[BOOT] POINTER_URL={POINTER_URL or '(unset)'}")
|
|
|
|
| 1164 |
|
| 1165 |
const pct = Math.max(0, Math.min(100, parseInt(s.percent||0,10)));
|
| 1166 |
const running = !!s.running;
|
| 1167 |
+
if (warmupStopBtn) warmupStopBtn.style.display = running ? 'inline-block' : 'none';
|
| 1168 |
if (warmupStatusEl) {
|
| 1169 |
const tot = (s.total ?? 0);
|
| 1170 |
if (running) {
|