amirali1985 commited on
Commit
9beaa8b
·
1 Parent(s): e88d145

LaTeX tab: switch gr.Code to gr.Textbox with show_copy_button for easy copy-paste

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -716,7 +716,8 @@ hidden activations — but here it is readable directly from the token sequence.
716
  gr.Markdown("Each block is a self-contained chunk. Click the copy icon top-right of each box.")
717
 
718
  gr.Markdown("#### § Arithmetic setup + Quirke subtask definitions")
719
- gr.Code(value=LATEX_ARITHMETIC_SETUP, language="latex", label="arithmetic_setup.tex")
 
720
 
721
  # ── Tab 4: About ──
722
  with gr.TabItem("About"):
 
716
  gr.Markdown("Each block is a self-contained chunk. Click the copy icon top-right of each box.")
717
 
718
  gr.Markdown("#### § Arithmetic setup + Quirke subtask definitions")
719
+ gr.Textbox(value=LATEX_ARITHMETIC_SETUP, label="arithmetic_setup.tex",
720
+ lines=30, show_copy_button=True, interactive=False)
721
 
722
  # ── Tab 4: About ──
723
  with gr.TabItem("About"):