JS6969 commited on
Commit
4e18731
·
verified ·
1 Parent(s): b52e85e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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