prithivMLmods commited on
Commit
b046403
Β·
verified Β·
1 Parent(s): 49ac4c8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -197,12 +197,14 @@ def create_gradio_interface():
197
  # Right Column (Outputs)
198
  with gr.Column(scale=2):
199
  with gr.Tabs() as tabs:
200
- with gr.Tab("**πŸ“ Extracted Content**", id=0):
201
- raw_output_stream = gr.Textbox(label="Raw Model Output Stream", interactive=False, lines=5, show_copy_button=True)
 
 
202
  with gr.Accordion("(Formatted Result)", open=True):
203
  markdown_output = gr.Markdown(label="Formatted Markdown")
204
 
205
- with gr.Tab("**πŸ“‹ Layout Analysis Results**", id=1):
206
  json_output = gr.JSON(label="Structured Layout Data (JSON)")
207
 
208
  # Event Handlers
 
197
  # Right Column (Outputs)
198
  with gr.Column(scale=2):
199
  with gr.Tabs() as tabs:
200
+ with gr.Tab("πŸ“ Extracted Content"):
201
+ raw_output_stream = gr.Textbox(label="Raw Model Output Stream", interactive=False, lines=8, show_copy_button=True)
202
+
203
+ with gr.Tab("πŸ“• README.md"):
204
  with gr.Accordion("(Formatted Result)", open=True):
205
  markdown_output = gr.Markdown(label="Formatted Markdown")
206
 
207
+ with gr.Tab("πŸ“‹ Layout Analysis Results"):
208
  json_output = gr.JSON(label="Structured Layout Data (JSON)")
209
 
210
  # Event Handlers