raviix46 commited on
Commit
46f11f9
·
verified ·
1 Parent(s): 2592f64

Update tabs/image_ocr_llm.py

Browse files
Files changed (1) hide show
  1. tabs/image_ocr_llm.py +4 -3
tabs/image_ocr_llm.py CHANGED
@@ -19,10 +19,11 @@ def image_ocr_llm_tab():
19
  clear_btn = gr.Button("Clear")
20
 
21
  with gr.Column():
22
- # First show summary
 
 
23
  summarized_text = gr.Markdown(label="🧠 Simplified Summary")
24
-
25
- # Then allow optional view of raw OCR
26
  with gr.Accordion("📄 View Extracted Text", open=False):
27
  extracted_text = gr.Textbox(label="Raw OCR Text", lines=10)
28
 
 
19
  clear_btn = gr.Button("Clear")
20
 
21
  with gr.Column():
22
+ # Title above summary
23
+ gr.Markdown("### 📋 Summary Report", elem_classes="centered-text")
24
+ # Simplified summary content
25
  summarized_text = gr.Markdown(label="🧠 Simplified Summary")
26
+ # Raw OCR inside collapsible
 
27
  with gr.Accordion("📄 View Extracted Text", open=False):
28
  extracted_text = gr.Textbox(label="Raw OCR Text", lines=10)
29