Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -949,6 +949,7 @@ with gr.Blocks(css=BASE_CSS, title="ForgeCaptions") as demo:
|
|
| 949 |
export_txt_btn = gr.Button("Export captions as .txt (zip)")
|
| 950 |
txt_zip = gr.File(label="TXT zip", visible=False)
|
| 951 |
|
|
|
|
| 952 |
<script>
|
| 953 |
(() => {
|
| 954 |
// ---- Config: your wrapper IDs
|
|
@@ -1052,7 +1053,7 @@ with gr.Blocks(css=BASE_CSS, title="ForgeCaptions") as demo:
|
|
| 1052 |
if (cleanupScroll) cleanupScroll();
|
| 1053 |
});
|
| 1054 |
})();
|
| 1055 |
-
</script>
|
| 1056 |
|
| 1057 |
|
| 1058 |
# ---- Chunking logic
|
|
|
|
| 949 |
export_txt_btn = gr.Button("Export captions as .txt (zip)")
|
| 950 |
txt_zip = gr.File(label="TXT zip", visible=False)
|
| 951 |
|
| 952 |
+
gr.HTML("""
|
| 953 |
<script>
|
| 954 |
(() => {
|
| 955 |
// ---- Config: your wrapper IDs
|
|
|
|
| 1053 |
if (cleanupScroll) cleanupScroll();
|
| 1054 |
});
|
| 1055 |
})();
|
| 1056 |
+
</script> """)
|
| 1057 |
|
| 1058 |
|
| 1059 |
# ---- Chunking logic
|