lighteternal commited on
Commit
0afd4cc
·
verified ·
1 Parent(s): e87a59a

Update Space to use broader prepared-data stable model and better live examples

Browse files
Files changed (2) hide show
  1. README.md +1 -1
  2. app.py +17 -17
README.md CHANGED
@@ -78,9 +78,9 @@ You can paste SMILES directly or upload a CSV with a `smiles` or `canonical_smil
78
 
79
  ## Example Assays Included In The UI
80
 
81
- - BTK binding sanity check
82
  - JAK2 cell assay
83
  - ALDH1A1 fluorescence assay
 
84
 
85
  These examples call the live model. They are not screenshots or mocked outputs.
86
 
 
78
 
79
  ## Example Assays Included In The UI
80
 
 
81
  - JAK2 cell assay
82
  - ALDH1A1 fluorescence assay
83
+ - BTK binding quick check
84
 
85
  These examples call the live model. They are not screenshots or mocked outputs.
86
 
app.py CHANGED
@@ -125,22 +125,6 @@ CSS = """
125
  """
126
 
127
  EXAMPLES = {
128
- "BTK binding sanity check": {
129
- "title": "BTK kinase inhibitor binding assay",
130
- "description": "In vitro kinase-domain binding assay for Bruton's tyrosine kinase inhibitor ranking.",
131
- "organism": "Homo sapiens",
132
- "readout": "binding",
133
- "assay_format": "biochemical",
134
- "assay_type": "binding",
135
- "target_uniprot": "Q06187",
136
- "smiles": "\n".join(
137
- [
138
- "CC1=NC(=O)N(C)C(=O)N1",
139
- "c1ccccc1",
140
- "CCO",
141
- ]
142
- ),
143
- },
144
  "JAK2 cell assay": {
145
  "title": "JAK2 inhibition assay",
146
  "description": "Cell-based luminescence assay measuring JAK2 inhibition in HEK293 cells.",
@@ -175,6 +159,22 @@ EXAMPLES = {
175
  ]
176
  ),
177
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
178
  }
179
 
180
 
@@ -475,7 +475,7 @@ Use structured assay fields when possible. Missing fields are allowed, but speci
475
  with gr.Tab("Rank Compounds"):
476
  with gr.Row():
477
  with gr.Column(scale=6):
478
- example_name = gr.Dropdown(choices=list(EXAMPLES.keys()), value="BTK binding sanity check", label="Live example")
479
  load_example_btn = gr.Button("Load Example", variant="secondary")
480
  gr.Markdown("These example inputs run against the live model. The outputs are not cached screenshots.")
481
  assay_title = gr.Textbox(label="Assay title")
 
125
  """
126
 
127
  EXAMPLES = {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
128
  "JAK2 cell assay": {
129
  "title": "JAK2 inhibition assay",
130
  "description": "Cell-based luminescence assay measuring JAK2 inhibition in HEK293 cells.",
 
159
  ]
160
  ),
161
  },
162
+ "BTK binding quick check": {
163
+ "title": "BTK kinase inhibitor binding assay",
164
+ "description": "In vitro kinase-domain binding assay for Bruton's tyrosine kinase inhibitor ranking.",
165
+ "organism": "Homo sapiens",
166
+ "readout": "binding",
167
+ "assay_format": "biochemical",
168
+ "assay_type": "binding",
169
+ "target_uniprot": "Q06187",
170
+ "smiles": "\n".join(
171
+ [
172
+ "CC1=NC(=O)N(C)C(=O)N1",
173
+ "c1ccccc1",
174
+ "CCO",
175
+ ]
176
+ ),
177
+ },
178
  }
179
 
180
 
 
475
  with gr.Tab("Rank Compounds"):
476
  with gr.Row():
477
  with gr.Column(scale=6):
478
+ example_name = gr.Dropdown(choices=list(EXAMPLES.keys()), value="JAK2 cell assay", label="Live example")
479
  load_example_btn = gr.Button("Load Example", variant="secondary")
480
  gr.Markdown("These example inputs run against the live model. The outputs are not cached screenshots.")
481
  assay_title = gr.Textbox(label="Assay title")