ricklon commited on
Commit
49c6e10
·
1 Parent(s): 87fd46f

Shorten output tab names for workflow clarity

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -1750,15 +1750,15 @@ with gr.Blocks(**blocks_kwargs) as demo:
1750
  with gr.Tabs() as tabs:
1751
  with gr.Tab("Text", id="tab_text"):
1752
  text_out = gr.Textbox(lines=20, show_label=False)
1753
- with gr.Tab("Text (Original LaTeX)", id="tab_text_latex"):
1754
  latex_out = gr.Textbox(lines=20, show_label=False)
1755
- with gr.Tab("Markdown Preview", id="tab_markdown"):
1756
  md_out = gr.HTML("")
1757
  with gr.Tab("Boxes", id="tab_boxes"):
1758
  img_out = gr.Image(type="pil", height=560, show_label=False)
1759
- with gr.Tab("Cropped Images", id="tab_crops"):
1760
  gallery = gr.Gallery(show_label=False, columns=3, height=420, object_fit="contain")
1761
- with gr.Tab("Raw Text", id="tab_raw"):
1762
  raw_out = gr.Textbox(lines=20, show_label=False)
1763
  download_btn = gr.DownloadButton("Download Markdown", visible=False, variant="secondary")
1764
 
 
1750
  with gr.Tabs() as tabs:
1751
  with gr.Tab("Text", id="tab_text"):
1752
  text_out = gr.Textbox(lines=20, show_label=False)
1753
+ with gr.Tab("LaTeX", id="tab_text_latex"):
1754
  latex_out = gr.Textbox(lines=20, show_label=False)
1755
+ with gr.Tab("Preview", id="tab_markdown"):
1756
  md_out = gr.HTML("")
1757
  with gr.Tab("Boxes", id="tab_boxes"):
1758
  img_out = gr.Image(type="pil", height=560, show_label=False)
1759
+ with gr.Tab("Crops", id="tab_crops"):
1760
  gallery = gr.Gallery(show_label=False, columns=3, height=420, object_fit="contain")
1761
+ with gr.Tab("Raw", id="tab_raw"):
1762
  raw_out = gr.Textbox(lines=20, show_label=False)
1763
  download_btn = gr.DownloadButton("Download Markdown", visible=False, variant="secondary")
1764