mohakkapoor4 commited on
Commit
99f9a39
·
1 Parent(s): 0c158d9

Remove fixed height constraint for CAPTCHA image display in UI.

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -76,9 +76,7 @@ with gr.Blocks(title="CAPTCHA OCR (checkpoint)") as demo:
76
  gt_out = gr.Textbox(label="Ground Truth", interactive=False, text_align="center")
77
 
78
  with gr.Row():
79
- # Fixed height container for the CAPTCHA image
80
- with gr.Box(style={"height": "200px"}):
81
- img_out = gr.Image(label="Generated CAPTCHA", type="pil")
82
  path_box = gr.Textbox(label="Internal Path", interactive=False, visible=False)
83
 
84
  # Prediction row split into two columns
 
76
  gt_out = gr.Textbox(label="Ground Truth", interactive=False, text_align="center")
77
 
78
  with gr.Row():
79
+ img_out = gr.Image(label="Generated CAPTCHA", type="pil")
 
 
80
  path_box = gr.Textbox(label="Internal Path", interactive=False, visible=False)
81
 
82
  # Prediction row split into two columns