Spaces:
Runtime error
Runtime error
Commit
·
8f652eb
1
Parent(s):
172c210
Update app.py
Browse files
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=
|
| 529 |
height=111,
|
| 530 |
-
min_width=
|
| 531 |
interactive=False,
|
| 532 |
-
scale=
|
| 533 |
show_label=False,
|
| 534 |
)
|
| 535 |
locals()[f"caption_{i}"] = gr.Textbox(
|
| 536 |
-
label=f"Caption {i}", scale=
|
| 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}"])
|