dvilasuero HF staff commited on
Commit
2bb119f
β€’
1 Parent(s): efeda97

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -30,11 +30,11 @@ def obtain_source_target_datasets() -> (
30
  filtered_source_dataset = source_dataset.filter_by(response_status=["pending"])
31
 
32
  # Obtain a list of users from the private workspace
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
 
 
30
  filtered_source_dataset = source_dataset.filter_by(response_status=["pending"])
31
 
32
  # Obtain a list of users from the private workspace
33
+ #target_dataset = rg.FeedbackDataset.from_argilla(
34
+ # os.getenv("RESULTS_DATASET"), workspace=os.getenv("RESULTS_WORKSPACE")
35
+ #)
36
 
37
+ target_dataset = source_dataset.filter_by(response_status=["submitted"])
38
 
39
  return filtered_source_dataset, target_dataset
40