Spaces:
Running on Zero
Running on Zero
Shorten output tab names for workflow clarity
Browse files
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("
|
| 1754 |
latex_out = gr.Textbox(lines=20, show_label=False)
|
| 1755 |
-
with gr.Tab("
|
| 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("
|
| 1760 |
gallery = gr.Gallery(show_label=False, columns=3, height=420, object_fit="contain")
|
| 1761 |
-
with gr.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 |
|