Commit
·
1d0f9a5
1
Parent(s):
51810f7
Initial deployment: Antibody non-specificity predictor
Browse files- ESM-1v (650M) + Logistic Regression
- Trained on Boughter dataset
- Pydantic v2 validation
- Gradio 5.x UI
app.py
CHANGED
|
@@ -217,7 +217,11 @@ theme = gr.themes.Soft(
|
|
| 217 |
table_row_focus="#DBEAFE",
|
| 218 |
table_row_focus_dark="#DBEAFE",
|
| 219 |
)
|
| 220 |
-
with gr.Blocks(
|
|
|
|
|
|
|
|
|
|
|
|
|
| 221 |
# Header (inline styles to survive HF Spaces stripping)
|
| 222 |
gr.HTML(
|
| 223 |
"""
|
|
@@ -282,6 +286,7 @@ with gr.Blocks(theme=theme, title="Antibody Predictor") as app:
|
|
| 282 |
examples=examples,
|
| 283 |
inputs=[sequence_input, threshold_input, assay_input],
|
| 284 |
label=None,
|
|
|
|
| 285 |
)
|
| 286 |
|
| 287 |
# Right Column: Outputs
|
|
|
|
| 217 |
table_row_focus="#DBEAFE",
|
| 218 |
table_row_focus_dark="#DBEAFE",
|
| 219 |
)
|
| 220 |
+
with gr.Blocks(
|
| 221 |
+
theme=theme,
|
| 222 |
+
title="Antibody Predictor",
|
| 223 |
+
css="#examples-table .label { display: none !important; } #examples-table { margin-top: 0 !important; }",
|
| 224 |
+
) as app:
|
| 225 |
# Header (inline styles to survive HF Spaces stripping)
|
| 226 |
gr.HTML(
|
| 227 |
"""
|
|
|
|
| 286 |
examples=examples,
|
| 287 |
inputs=[sequence_input, threshold_input, assay_input],
|
| 288 |
label=None,
|
| 289 |
+
elem_id="examples-table",
|
| 290 |
)
|
| 291 |
|
| 292 |
# Right Column: Outputs
|