multimodalart HF staff commited on
Commit
8f652eb
1 Parent(s): 172c210

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -525,15 +525,15 @@ To improve the quality of your outputs, you can add a custom caption for each im
525
  locals()[f"captioning_row_{i}"] = gr.Row(visible=False)
526
  with locals()[f"captioning_row_{i}"]:
527
  locals()[f"image_{i}"] = gr.Image(
528
- width=64,
529
  height=111,
530
- min_width=64,
531
  interactive=False,
532
- scale=1,
533
  show_label=False,
534
  )
535
  locals()[f"caption_{i}"] = gr.Textbox(
536
- label=f"Caption {i}", scale=4
537
  )
538
 
539
  output_components.append(locals()[f"captioning_row_{i}"])
 
525
  locals()[f"captioning_row_{i}"] = gr.Row(visible=False)
526
  with locals()[f"captioning_row_{i}"]:
527
  locals()[f"image_{i}"] = gr.Image(
528
+ width=111,
529
  height=111,
530
+ min_width=111,
531
  interactive=False,
532
+ scale=2,
533
  show_label=False,
534
  )
535
  locals()[f"caption_{i}"] = gr.Textbox(
536
+ label=f"Caption {i}", scale=15
537
  )
538
 
539
  output_components.append(locals()[f"captioning_row_{i}"])