mughal-88 commited on
Commit
e96c16f
·
verified ·
1 Parent(s): e33ce4b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -37,7 +37,7 @@ if case == "Predefined Template":
37
  # Retrieve criteria
38
  if selected_template:
39
  template_data = dataset["train"].filter(lambda x: x["name"] == selected_template).to_pandas()
40
- criteria = json.loads(template_data.iloc[0]["criteria"])
41
 
42
  # Dynamic input collection
43
  inputs = {}
 
37
  # Retrieve criteria
38
  if selected_template:
39
  template_data = dataset["train"].filter(lambda x: x["name"] == selected_template).to_pandas()
40
+ criteria = template_data.iloc[0]["criteria"]
41
 
42
  # Dynamic input collection
43
  inputs = {}