Spaces:
Sleeping
Sleeping
fix syntax error
Browse files
app.py
CHANGED
@@ -14,9 +14,9 @@ select = st.selectbox('Which model would you like to evaluate?',
|
|
14 |
('Bart', 'mBart'))
|
15 |
|
16 |
def get_datasets():
|
17 |
-
if select ==
|
18 |
all_datasets = ["Communication Networks: unseen questions", "Communication Networks: unseen answers"]
|
19 |
-
if select ==
|
20 |
all_datasets = ["Micro Job: unseen questions", "Micro Job: unseen answers", "Legal Domain: unseen questions", "Legal Domain: unseen answers"]
|
21 |
return all_datasets
|
22 |
|
|
|
14 |
('Bart', 'mBart'))
|
15 |
|
16 |
def get_datasets():
|
17 |
+
if select == 'Bart'
|
18 |
all_datasets = ["Communication Networks: unseen questions", "Communication Networks: unseen answers"]
|
19 |
+
if select == 'mBart'
|
20 |
all_datasets = ["Micro Job: unseen questions", "Micro Job: unseen answers", "Legal Domain: unseen questions", "Legal Domain: unseen answers"]
|
21 |
return all_datasets
|
22 |
|