Spaces:
Running
Running
Update app.py
Browse files
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 =
|
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 = {}
|