Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,10 @@ from model_list import ModelList
|
|
8 |
|
9 |
DESCRIPTION = '# Explore Biology & Biochemistry Foundation Models 🧬'
|
10 |
NOTES = '''
|
11 |
-
|
|
|
|
|
|
|
12 |
'''
|
13 |
FOOTER = ''''''
|
14 |
|
@@ -35,13 +38,17 @@ def main():
|
|
35 |
data_type_names = [
|
36 |
'DNA', 'scRNA', 'scRNA perturbation', 'protein language model', 'protein structure prediction',
|
37 |
'protein generation', 'protein function prediction', 'antibody structure prediction', 'antibody language model', 'molecules',
|
38 |
-
'ligand generation', 'reaction-to-enzyme', 'enzyme generation', '
|
39 |
]
|
40 |
|
41 |
data_types = gr.CheckboxGroup(choices=data_type_names,
|
42 |
value=data_type_names,
|
43 |
label='Type')
|
44 |
|
|
|
|
|
|
|
|
|
45 |
# model_type_names = [
|
46 |
# 'GPT2', 'GPT-Neo', 'GPT-NeoX', 'ESM', 'BERT', 'RoBERTa', 'BART', 'T5', 'MPNN', 'diffusion', 'custom model'
|
47 |
# ]
|
@@ -64,6 +71,7 @@ def main():
|
|
64 |
case_sensitive,
|
65 |
filter_names,
|
66 |
data_types,
|
|
|
67 |
#model_types
|
68 |
],
|
69 |
outputs=[
|
@@ -76,6 +84,7 @@ def main():
|
|
76 |
case_sensitive,
|
77 |
filter_names,
|
78 |
data_types,
|
|
|
79 |
#model_types
|
80 |
],
|
81 |
outputs=[
|
@@ -89,6 +98,7 @@ def main():
|
|
89 |
case_sensitive,
|
90 |
filter_names,
|
91 |
data_types,
|
|
|
92 |
#model_types
|
93 |
],
|
94 |
outputs=[
|
|
|
8 |
|
9 |
DESCRIPTION = '# Explore Biology & Biochemistry Foundation Models 🧬'
|
10 |
NOTES = '''
|
11 |
+
Thanks to the following folks who have made suggestions to this list!
|
12 |
+
- [Shelby](https://twitter.com/shelbynewsad), author of [this nice model list](https://compoundvc.notion.site/compoundvc/474885e638e94e44a1aab4d3124e3d6a?v=299bce7af785413da4c9f36837c03aaf) for some of the models listed here!
|
13 |
+
- [Valentyn Bezshapkin](https://twitter.com/valentynbez)
|
14 |
+
- [Payel Das](https://twitter.com/payel791)
|
15 |
'''
|
16 |
FOOTER = ''''''
|
17 |
|
|
|
38 |
data_type_names = [
|
39 |
'DNA', 'scRNA', 'scRNA perturbation', 'protein language model', 'protein structure prediction',
|
40 |
'protein generation', 'protein function prediction', 'antibody structure prediction', 'antibody language model', 'molecules',
|
41 |
+
'ligand generation', 'reaction-to-enzyme', 'enzyme generation', 'epigenomics', 'molecular docking'
|
42 |
]
|
43 |
|
44 |
data_types = gr.CheckboxGroup(choices=data_type_names,
|
45 |
value=data_type_names,
|
46 |
label='Type')
|
47 |
|
48 |
+
years = ['2020', '2021', '2022', '2023']
|
49 |
+
|
50 |
+
years_checkbox = gr.CheckboxGroup(choices=years, value=years, label='Year of Publication/Preprint')
|
51 |
+
|
52 |
# model_type_names = [
|
53 |
# 'GPT2', 'GPT-Neo', 'GPT-NeoX', 'ESM', 'BERT', 'RoBERTa', 'BART', 'T5', 'MPNN', 'diffusion', 'custom model'
|
54 |
# ]
|
|
|
71 |
case_sensitive,
|
72 |
filter_names,
|
73 |
data_types,
|
74 |
+
years_checkbox,
|
75 |
#model_types
|
76 |
],
|
77 |
outputs=[
|
|
|
84 |
case_sensitive,
|
85 |
filter_names,
|
86 |
data_types,
|
87 |
+
years_checkbox,
|
88 |
#model_types
|
89 |
],
|
90 |
outputs=[
|
|
|
98 |
case_sensitive,
|
99 |
filter_names,
|
100 |
data_types,
|
101 |
+
years_checkbox,
|
102 |
#model_types
|
103 |
],
|
104 |
outputs=[
|