sdiazlor HF staff commited on
Commit
d27c1e6
1 Parent(s): 3f21280

fix: remove extra args

Browse files
src/distilabel_dataset_generator/apps/textcat.py CHANGED
@@ -419,7 +419,7 @@ with app:
419
  outputs=labels,
420
  ).then(
421
  fn=update_max_num_labels,
422
- inputs=[labels, num_labels],
423
  outputs=[num_labels],
424
  )
425
 
@@ -548,7 +548,7 @@ with app:
548
  outputs=[pipeline_code],
549
  ).then(
550
  fn=update_max_num_labels,
551
- inputs=[labels, num_labels],
552
  outputs=[num_labels],
553
  )
554
  num_labels.change(
 
419
  outputs=labels,
420
  ).then(
421
  fn=update_max_num_labels,
422
+ inputs=[labels],
423
  outputs=[num_labels],
424
  )
425
 
 
548
  outputs=[pipeline_code],
549
  ).then(
550
  fn=update_max_num_labels,
551
+ inputs=[labels],
552
  outputs=[num_labels],
553
  )
554
  num_labels.change(