fisherman611 commited on
Commit
4487539
·
verified ·
1 Parent(s): ef43578

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py CHANGED
@@ -702,6 +702,14 @@ with gr.Blocks(css=custom_css, title="Math Expression Recognition") as demo:
702
  </div>
703
  """)
704
 
 
 
 
 
 
 
 
 
705
  draw_input = gr.Sketchpad(
706
  label="Draw your mathematical expression here",
707
  elem_classes="sketchpad-container",
 
702
  </div>
703
  """)
704
 
705
+ # Add brush size instruction
706
+ gr.HTML("""
707
+ <div class="brush-instruction" style="background: #e3f2fd; border: 1px solid #2196f3; border-radius: 8px; padding: 1rem; margin-bottom: 1rem; color: #1565c0;">
708
+ <strong>🖌️ Brush Size:</strong> Look for brush size controls in the drawing interface, or try different drawing pressures.
709
+ For best results with math expressions, use a medium brush thickness.
710
+ </div>
711
+ """)
712
+
713
  draw_input = gr.Sketchpad(
714
  label="Draw your mathematical expression here",
715
  elem_classes="sketchpad-container",