Update app.py
Browse files
app.py
CHANGED
|
@@ -510,8 +510,8 @@ with gr.Blocks(title=TITLE) as demo:
|
|
| 510 |
tag_substitutes_df = gr.Dataframe(
|
| 511 |
headers=["Original Tag", "Substitute Tag"],
|
| 512 |
datatype=["str", "str"],
|
| 513 |
-
row_count=3,
|
| 514 |
-
col_count=2,
|
| 515 |
type="array",
|
| 516 |
label="Tag Substitutes",
|
| 517 |
interactive=True,
|
|
@@ -525,8 +525,8 @@ with gr.Blocks(title=TITLE) as demo:
|
|
| 525 |
tag_exclusions_df = gr.Dataframe(
|
| 526 |
headers=["Tag to Exclude"],
|
| 527 |
datatype=["str"],
|
| 528 |
-
row_count=3,
|
| 529 |
-
col_count=1,
|
| 530 |
type="array",
|
| 531 |
label="Tag Exclusions",
|
| 532 |
interactive=True,
|
|
|
|
| 510 |
tag_substitutes_df = gr.Dataframe(
|
| 511 |
headers=["Original Tag", "Substitute Tag"],
|
| 512 |
datatype=["str", "str"],
|
| 513 |
+
row_count=(3, "dynamic"),
|
| 514 |
+
col_count=(2, "fixed"),
|
| 515 |
type="array",
|
| 516 |
label="Tag Substitutes",
|
| 517 |
interactive=True,
|
|
|
|
| 525 |
tag_exclusions_df = gr.Dataframe(
|
| 526 |
headers=["Tag to Exclude"],
|
| 527 |
datatype=["str"],
|
| 528 |
+
row_count=(3, "dynamic"),
|
| 529 |
+
col_count=(1, "fixed"),
|
| 530 |
type="array",
|
| 531 |
label="Tag Exclusions",
|
| 532 |
interactive=True,
|