Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
519 |
-
|
520 |
-
|
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 |
|