cuneytkaya commited on
Commit
1211ed4
·
verified ·
1 Parent(s): 91761d3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -513,12 +513,12 @@ with gr.Blocks(theme=theme, css=css, title="NerdAI Math Solver") as demo:
513
  processed_image = gr.Image(label="Processed Image", interactive=False, elem_id="processed_image", height=350) # Set fixed height
514
 
515
  # --- Results Area ---
 
516
  with gr.Group(elem_id="results_group"):
517
  gr.Markdown("### Results")
518
- with gr.Box(): # Box for slight visual separation
519
- extracted_text_output = gr.Textbox(label="📝 Extracted Text", lines=3, interactive=False, placeholder="Text from the image will appear here...", elem_id="extracted_text_output")
520
- with gr.Box():
521
- classification_output = gr.Textbox(label=f"📊 Problem Classification ({CLASSIFICATION_MODEL})", lines=5, interactive=False, placeholder="Problem type analysis will appear here...", elem_id="classification_output")
522
 
523
  solution_output = gr.Markdown(label="✅ Solution Steps", value="*Solution steps will appear here after processing...*", elem_id="solution_output")
524
 
 
513
  processed_image = gr.Image(label="Processed Image", interactive=False, elem_id="processed_image", height=350) # Set fixed height
514
 
515
  # --- Results Area ---
516
+
517
  with gr.Group(elem_id="results_group"):
518
  gr.Markdown("### Results")
519
+ # gr.Box sarmalayıcıları kaldırıldı:
520
+ extracted_text_output = gr.Textbox(label="📝 Extracted Text", lines=3, interactive=False, placeholder="Text from the image will appear here...", elem_id="extracted_text_output")
521
+ classification_output = gr.Textbox(label=f"📊 Problem Classification ({CLASSIFICATION_MODEL})", lines=5, interactive=False, placeholder="Problem type analysis will appear here...", elem_id="classification_output")
 
522
 
523
  solution_output = gr.Markdown(label="✅ Solution Steps", value="*Solution steps will appear here after processing...*", elem_id="solution_output")
524