dvilasuero HF staff commited on
Commit
efeda97
1 Parent(s): 4c07517

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -33,6 +33,8 @@ def obtain_source_target_datasets() -> (
33
  target_dataset = rg.FeedbackDataset.from_argilla(
34
  os.getenv("RESULTS_DATASET"), workspace=os.getenv("RESULTS_WORKSPACE")
35
  )
 
 
36
 
37
  return filtered_source_dataset, target_dataset
38
 
 
33
  target_dataset = rg.FeedbackDataset.from_argilla(
34
  os.getenv("RESULTS_DATASET"), workspace=os.getenv("RESULTS_WORKSPACE")
35
  )
36
+
37
+ target_dataset = target_dataset.filter_by(response_status=["submitted"])
38
 
39
  return filtered_source_dataset, target_dataset
40