throaway2854 commited on
Commit
3edbe4e
·
verified ·
1 Parent(s): 295547b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -4
app.py CHANGED
@@ -516,8 +516,9 @@ with gr.Blocks(title=TITLE) as demo:
516
  tag_substitutes_df = gr.Dataframe(
517
  headers=["Original Tag", "Substitute Tag"],
518
  datatype=["str", "str"],
519
- row_count=(20, "dynamic"),
520
- col_count=(2, "fixed"),
 
521
  type="array",
522
  label="Tag Substitutes",
523
  interactive=True,
@@ -531,8 +532,9 @@ with gr.Blocks(title=TITLE) as demo:
531
  tag_exclusions_df = gr.Dataframe(
532
  headers=["Tag to Exclude"],
533
  datatype=["str"],
534
- row_count=(20, "dynamic"),
535
- col_count=(1, "fixed"),
 
536
  type="array",
537
  label="Tag Exclusions",
538
  interactive=True,
 
516
  tag_substitutes_df = gr.Dataframe(
517
  headers=["Original Tag", "Substitute Tag"],
518
  datatype=["str", "str"],
519
+ row_count=1
520
+ row_limits=[None, None],
521
+ col_count=2
522
  type="array",
523
  label="Tag Substitutes",
524
  interactive=True,
 
532
  tag_exclusions_df = gr.Dataframe(
533
  headers=["Tag to Exclude"],
534
  datatype=["str"],
535
+ row_count=1
536
+ row_limits=[None, None],
537
+ col_count=1
538
  type="array",
539
  label="Tag Exclusions",
540
  interactive=True,