Commit
·
4902c48
1
Parent(s):
e03506a
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
|
@@ -237,12 +237,15 @@ with gr.Blocks(theme=theme, title="Antibody Predictor") as app:
|
|
| 237 |
# Left Column: Inputs
|
| 238 |
with gr.Column(scale=1):
|
| 239 |
with gr.Group():
|
|
|
|
|
|
|
|
|
|
| 240 |
sequence_input = gr.TextArea(
|
| 241 |
-
label="Antibody Sequence (VH or VL)",
|
| 242 |
placeholder="Paste amino acid sequence here (e.g., QVQL...)",
|
| 243 |
lines=5,
|
| 244 |
max_lines=15,
|
| 245 |
show_copy_button=True,
|
|
|
|
| 246 |
)
|
| 247 |
|
| 248 |
with gr.Accordion("⚙️ Advanced Settings", open=False), gr.Row():
|
|
|
|
| 237 |
# Left Column: Inputs
|
| 238 |
with gr.Column(scale=1):
|
| 239 |
with gr.Group():
|
| 240 |
+
gr.HTML(
|
| 241 |
+
'<div style="background-color: #3B82F6; color: white; padding: 4px 8px; border-radius: 4px; font-weight: 600; font-size: 0.875rem; display: inline-block; margin-bottom: 4px;">Antibody Sequence (VH or VL)</div>'
|
| 242 |
+
)
|
| 243 |
sequence_input = gr.TextArea(
|
|
|
|
| 244 |
placeholder="Paste amino acid sequence here (e.g., QVQL...)",
|
| 245 |
lines=5,
|
| 246 |
max_lines=15,
|
| 247 |
show_copy_button=True,
|
| 248 |
+
show_label=False, # Disable built-in label
|
| 249 |
)
|
| 250 |
|
| 251 |
with gr.Accordion("⚙️ Advanced Settings", open=False), gr.Row():
|